Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-publish.yml to use semver labels for images #2489

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

jake-low
Copy link
Contributor

@jake-low jake-low commented Nov 11, 2024

Minor change: the current workflow (which I added very recently) labels images only with the literal git tag. This change instead labels them with the semver version (without leading v) which is the more typical Docker convention. E.g. a commit tagged v3.15.12 will build an image labeled 3.15.12, 3.15, 3, and latest.

This was the intended behavior in #2479 (and I described this there) but I misunderstood the docs for the docker/metadata-action GH Action so the current behavior is actually different from what I intended. This PR should fix that.

@jake-low jake-low merged commit 505b402 into main Nov 13, 2024
6 checks passed
@jake-low jake-low deleted the jlow/docker-publish-labels branch November 13, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant