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

Fix Docker meta action for releases (#28232) #28395

Merged

Conversation

GiteaBot
Copy link
Collaborator

@GiteaBot GiteaBot commented Dec 7, 2023

Backport #28232 by @jolheiser

Should fix #28229 and #28230 for next release.

Assuming I'm reading the docs correctly for the docker meta action:

https://github.com/docker/metadata-action#flavor-input
https://github.com/docker/metadata-action#latest-tag

  1. We want latest=false for the RCs.
  2. latest should happen already due to auto mode, however there's an extra option for the suffix flavor.

This PR is ready, but leaving it as draft to make sure someone double-checks my sleuth-work.

Should fix go-gitea#28229 and go-gitea#28230 for next release.

Assuming I'm reading the docs correctly for the docker meta action:

https://github.com/docker/metadata-action#flavor-input
https://github.com/docker/metadata-action#latest-tag

1. We want `latest=false` for the RCs.
2. `latest` should happen already due to `auto` mode, however there's an
extra option for the `suffix` flavor.

This PR is ready, but leaving it as draft to make sure someone
double-checks my sleuth-work.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
@GiteaBot GiteaBot added modifies/internal topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile labels Dec 7, 2023
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 7, 2023
@GiteaBot GiteaBot added this to the 1.21.2 milestone Dec 7, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 7, 2023
@techknowlogick techknowlogick merged commit 3107093 into go-gitea:release/v1.21 Dec 8, 2023
25 of 26 checks passed
@techknowlogick techknowlogick deleted the backport-28232-v1.21 branch December 8, 2023 00:29
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/internal size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants