ci: build Docker image on every push, only push to GHCR on release#5
Merged
Merged
Conversation
Co-authored-by: AlexanderJ-Carter <121274570+AlexanderJ-Carter@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix invalid tag error in buildx process
Fix Docker image tag failing due to uppercase repository owner
Mar 17, 2026
…release body Docker URLs Co-authored-by: AlexanderJ-Carter <121274570+AlexanderJ-Carter@users.noreply.github.com>
Copilot
AI
changed the title
Fix Docker image tag failing due to uppercase repository owner
ci: fix uppercase owner in Docker tags and release body, remove redundant step
Mar 17, 2026
AlexanderJ-Carter
marked this pull request as ready for review
March 17, 2026 01:38
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions CI workflow to consistently use a lowercase GitHub repository owner when referencing GHCR image paths, preventing issues with Docker/GHCR name normalization.
Changes:
- Add a step that computes a lowercase
ownervalue fromgithub.repository_ownerand exposes it via step outputs. - Update the release notes’ Docker command examples to use the lowercase owner for
ghcr.io/...image references. - Update the Docker image tagging logic to publish images under
ghcr.io/<lowercase-owner>/<image>:....
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…s into two steps Co-authored-by: AlexanderJ-Carter <121274570+AlexanderJ-Carter@users.noreply.github.com>
Copilot
AI
changed the title
ci: fix uppercase owner in Docker tags and release body, remove redundant step
ci: refactor pipeline — release-only env for lowercase owner, split Docker builds
Mar 17, 2026
Co-authored-by: AlexanderJ-Carter <121274570+AlexanderJ-Carter@users.noreply.github.com>
Copilot
AI
changed the title
ci: refactor pipeline — release-only env for lowercase owner, split Docker builds
ci: fix skipped release steps and add workflow_dispatch for manual testing
Mar 17, 2026
Co-authored-by: AlexanderJ-Carter <121274570+AlexanderJ-Carter@users.noreply.github.com>
Copilot
AI
changed the title
ci: fix skipped release steps and add workflow_dispatch for manual testing
ci: Docker image builds on every push; only pushes to GHCR on release
Mar 17, 2026
Copilot
AI
changed the title
ci: Docker image builds on every push; only pushes to GHCR on release
ci: build Docker image on every push, only push to GHCR on release
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All post-build steps were gated by
IS_RELEASE == 'true', causing the Docker image build to be skipped on every non-main/masterpush — including the Docker Buildx setup and theOWNERenv var needed for image tags.Changes
Set release env— removedIS_RELEASEguard;OWNERmust always be set for Docker tag referencesSet up Docker Buildx— removedIS_RELEASEguard; runs unconditionallyBuild and push image:latest— removedifguard; build always runs, push is conditional:Login to GitHub Container Registry— remains release-only (no push needed on feature branches)Build and push image:tags— unchanged, still requires a new tag fromcreate-tag-action✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.