Update docker tag

This commit is contained in:
2026-10-16 20:12:11 -05:00
parent 5d8549af2e
commit 1c5e045591
2 changed files with 15 additions and 16 deletions

View File

@@ -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: