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

Smarter autotag :1 #287

Open
lunny opened this issue Jun 24, 2020 · 1 comment
Open

Smarter autotag :1 #287

lunny opened this issue Jun 24, 2020 · 1 comment

Comments

@lunny
Copy link

lunny commented Jun 24, 2020

For gitea, sometimes, we release v1.11.8 docker after v1.12.0, but we would like to keep :1 still point to v1.12.0 but not v1.11.8? How should we configure it?

@tboerger
Copy link

Currently there is no way builtin to handle that in a smarter way. But instead of relying on the pretty simple auto tagging you could write a .tags file in a previous step, on tag per line, and it will be used to define the tags. That way you could to some curl command or define the tags based on the version number, you are totally free on that.

For reference: https://github.com/drone-plugins/drone-docker/blob/master/cmd/drone-docker/main.go#L123-L129

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

No branches or pull requests

2 participants