Skip to content

Publish docker image to Docker Hub + GHCR on release - #6

Merged
miklosbagi merged 1 commit into
mainfrom
docker-publish
Aug 15, 2026
Merged

Publish docker image to Docker Hub + GHCR on release#6
miklosbagi merged 1 commit into
mainfrom
docker-publish

Conversation

@miklosbagi

Copy link
Copy Markdown
Owner

Summary

Same mechanism as sigennut: release.yml calls docker-publish.yml
directly as a second job (workflow_call), multi-arch
(linux/amd64,linux/arm64), publishes miklosbagi/invforge:
and :latest on both Docker Hub and GHCR. workflow_dispatch also
available for manual backfills.

Same pattern as sigennut (built and debugged there first): a
workflow_call target release.yml invokes directly as a second job in
the same run, not via the release event (GITHUB_TOKEN-authored events
don't trigger other workflows), plus workflow_dispatch for backfilling
already-tagged versions. Multi-arch (linux/amd64,linux/arm64) --
python:3.12-slim and every dependency in requirements.txt already ship
aarch64 wheels, so this should build meaningfully faster than
sigennut's autotools-from-source image did under QEMU.

Needs the DOCKERHUB_USERNAME/DOCKERHUB_TOKEN repo secrets (already
added). GHCR needs no secret -- uses GITHUB_TOKEN.
@github-actions github-actions Bot added the Tag/Patch Bump patch version (x.y.Z) on merge label Aug 15, 2026
@miklosbagi
miklosbagi merged commit d450353 into main Aug 15, 2026
7 checks passed
@miklosbagi
miklosbagi deleted the docker-publish branch August 15, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tag/Patch Bump patch version (x.y.Z) on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant