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

Please create non-moving docker tags also #9

Open
nudgegoonies opened this issue Sep 23, 2019 · 2 comments
Open

Please create non-moving docker tags also #9

nudgegoonies opened this issue Sep 23, 2019 · 2 comments

Comments

@nudgegoonies
Copy link

Actually there is only a latest tag. This is a problem where docker-images have to be reviewed and mirrored in internal registries.

@solsson
Copy link
Contributor

solsson commented Sep 24, 2019

@nudgegoonies Please explain in a bit more detail how you'd want tagging to work wrt git commits and branches. What kind of tooling is it you're using for mirroring?

@nudgegoonies
Copy link
Author

We use Artifactory as Docker Repository and lstags for mirroring selected images from docker hub and other registries.

lstags does not support mirroring a specific SHA so we pull the latest image manually, tag it to a version, and push it to Artifactory. But even if lstags could mirror a sha, only providing latest is not a good idea in my opinion. For example when there is an incompatible update. Many images have 3 types of tags:
The moving tag latest that always points to the latest version.
The moving tag to the latest compatible version which is mostly the major version in semantic versioning.
And then immutable tags for every minor version pushed to the registry.

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