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

How to add extra tags? #52

Open
dedupely opened this issue Mar 8, 2019 · 5 comments
Open

How to add extra tags? #52

dedupely opened this issue Mar 8, 2019 · 5 comments

Comments

@dedupely
Copy link

dedupely commented Mar 8, 2019

I'm using docker swarm and want to be able to revert to the last image rev.

I notice that roger doesn't give the option to set the tag and just used the branch name by default. That's fine, but I also want BRANCH_NAME-REV and then update it in the swarm after the docker registry push.

How would I do this?

@odino
Copy link
Contributor

odino commented Mar 10, 2019

Hi @dedupely! There is no such functionality at the moment but, if you're down to hack and send a PR, we'd be happy to review it!

This is where I'd suggest looking at.

Cheers!

@dedupely
Copy link
Author

dedupely commented Mar 10, 2019 via email

@dedupely
Copy link
Author

dedupely commented Mar 10, 2019 via email

@JonathanHolvey
Copy link
Contributor

Did you get anywhere with this? I'm looking at implementing some tagging features to do with semantic versioning:

  • Removing a leading V from a semver tag name
  • Pushing multiple tags to the registry for major, minor and bugfix versions

I'd like to achieve this without affecting the tag displayed in the build process, so a pre registry push hook would be great.

I'm also thinking a server config key tagging could be used to store the options. Would this work with what you're proposing?

@dedupely
Copy link
Author

dedupely commented May 19, 2019 via email

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

3 participants