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

release: fix adding latest tag #2399

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Jul 16, 2024

Context

According to https://github.com/docker/metadata-action?tab=readme-ov-file#latest-tag the latest tag is only created on specific configurations.

image

What Changed

In this change, I'm replacing the type raw with semver so that the latest tag is created automatically.

Testing

I was able to test and verify the correct behavior in a test repo at https://github.com/unelastisch/test-publish-docker/actions/runs/9960071835/job/27518417577, where the action is producing both the semver and the latest tag.

image

Here is the workflow file I used to reproduce it: https://github.com/unelastisch/test-publish-docker/actions/runs/9960071835/workflow

@reakaleek reakaleek marked this pull request as ready for review July 16, 2024 15:57
@reakaleek reakaleek requested review from amannocci and xrmx July 16, 2024 15:58
@reakaleek reakaleek self-assigned this Jul 16, 2024
@reakaleek reakaleek requested review from a team and removed request for xrmx July 16, 2024 16:02
@Mpdreamz
Copy link
Member

Thank you @reakaleek !

@reakaleek reakaleek merged commit 78b8011 into main Jul 16, 2024
15 checks passed
@reakaleek reakaleek deleted the feature/add-latest-docker-tag-in-release branch July 16, 2024 21:37
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.

2 participants