feat: publish latest Docker tag on release#57
Merged
ThePlenkov merged 2 commits intomainfrom Mar 2, 2026
Merged
Conversation
Co-authored-by: ThePlenkov <6381507+ThePlenkov@users.noreply.github.com>
|
Copilot
AI
changed the title
[WIP] Add support for latest Docker tag
feat: publish Mar 2, 2026
latest Docker tag on release
Review Summary by QodoAdd latest Docker tag for release publications
WalkthroughsDescription• Add latest Docker tag to GHCR image publications • Enable conditionally for releases and git tags • Allows docker pull ghcr.io/abapify/adt-cli:latest to work Diagramflowchart LR
A["Docker Metadata Action"] -->|"Add latest tag"| B["Conditional Enable"]
B -->|"inputs.version OR git tag"| C["GHCR Image Tags"]
C -->|"semver + sha + latest"| D["Published Image"]
File Changes1. .github/workflows/docker.yml
|
Code Review by Qodo
1. Implicit inputs.version semantics
|
Contributor
|
View your CI Pipeline Execution ↗ for commit 8eb4cf1
☁️ Nx Cloud last updated this comment at |
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.



Docker images were published to GHCR with semver and SHA tags only — no
latesttag, makingdocker pull ghcr.io/abapify/adt-cli:latestfail.Change
Added
latestto thedocker/metadata-actiontag list in.github/workflows/docker.yml, enabled conditionally:type=raw,value=latest,enable=${{ inputs.version != '' || startsWith(github.ref, 'refs/tags/') }}inputs.version)workflow_dispatchis triggered on a git tag💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.