Update docker tag
This commit is contained in:
11
README.md
11
README.md
@@ -300,15 +300,18 @@ A few volume types ignore `fsGroup` (`hostPath`, and some NFS and local-path
|
||||
provisioners). For those, `chown 10001:10001` the backing directory once, or
|
||||
add an init container that does it.
|
||||
|
||||
To build the image yourself and push it to your own registry:
|
||||
To build the image and push it to Docker Hub
|
||||
([`glmdev/mtgc`](https://hub.docker.com/r/glmdev/mtgc)):
|
||||
|
||||
```bash
|
||||
DOCKER_REGISTRY=registry.example.com npm run sync-server:build # → registry.example.com/mtgc/sync-server:latest
|
||||
DOCKER_REGISTRY=registry.example.com npm run sync-server:push
|
||||
npm run sync-server:build # → docker.io/glmdev/mtgc:latest
|
||||
npm run sync-server:push # after `docker login docker.io`
|
||||
```
|
||||
|
||||
Both call `scripts/sync-server-image.sh`. `IMAGE_TAG` overrides the `latest`
|
||||
tag, and `CONTAINER_ENGINE=podman` picks podman when docker is also installed.
|
||||
tag, `IMAGE_REPO` points it at another repository (e.g.
|
||||
`IMAGE_REPO=registry.example.com/mtgc`), and `CONTAINER_ENGINE=podman` picks
|
||||
podman when docker is also installed.
|
||||
|
||||
Configuration is all environment variables:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user