push ghcr.io/coilysiren/eco-spec-tracker/coilysiren-eco-spec-tracker to Docker Hub as a mirror #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
We currently push the coilysiren-eco-spec-tracker image (workflow still uses the pre-rename path) to ghcr.io only. Add a parallel
docker pushto Docker Hub under the same short ref (docker.io/coilysiren/<image>) so the image resolves for pulls without a ghcr login.Notes
kai-server. ghcr.io stays primary; Docker Hub is a courtesy mirror.coilysirenuser lives at/coilysiren/dockerhub/access-token(SSM SecureString).docker login -u coilysiren --password-stdinin CI, never~/.docker/config.jsonplaintext.docker.io/coilysiren/<image>alongside the existingghcr.io/coilysiren/<image>tag in the build-and-publish workflow. Tag and push both refs with the same SHA pin.lunch-money-k8salready does this. Crib fromcoilysiren/lunch-money-k8s/.github/workflows/docker.yml.Pre-reqs
DOCKERHUB_USERNAME=coilysirenandDOCKERHUB_TOKEN=<value from SSM>on this repo.