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

Consider using version-based tags for Docker Images in Docker hub #542

Open
tschaible opened this issue Sep 30, 2019 · 6 comments
Open

Consider using version-based tags for Docker Images in Docker hub #542

tschaible opened this issue Sep 30, 2019 · 6 comments

Comments

@tschaible
Copy link

@tschaible tschaible commented Sep 30, 2019

Currently, it appears the only tags pushed to Dockerhub are the latest tag and the git commit sha.

For example, when the newest 3.4.0 image was tagged, it was tagged as

It's often useful to have more meaningful tags created that match the actual version. With the latest 3.4.0 release it would preferred that it also be tagged with the version. So the following docker tags.

Additionally, it's not to have simplified major/minor tags. So the ideal set of tags would be

@ajvb
Copy link
Member

@ajvb ajvb commented Oct 11, 2019

I like this idea and it should be easy to add.

We'll get to it when we can, but if someone else want's to work on it you'll find the dockerhub upload code in here: https://github.com/mozilla/sops/blob/master/.circleci/config.yml

@imskr
Copy link

@imskr imskr commented Oct 20, 2019

I would like to work on this. Please assign

@imskr
Copy link

@imskr imskr commented Oct 21, 2019

@ajvb
Copy link
Member

@ajvb ajvb commented Oct 21, 2019

@imskr yep!

eddiewebb added a commit to eddiewebb/sops that referenced this issue Jan 15, 2020
This change accesses the environment variable CIRCLE_TAG

It also changes the docker image to `cimg` which is our new type that should be saller and faster over time, but that's unrelated, just grooming
eddiewebb added a commit to eddiewebb/sops that referenced this issue Jan 16, 2020
@eddiewebb
Copy link

@eddiewebb eddiewebb commented Jan 16, 2020

@ajvb / @imskr - I threw an updated circle config in #607 matching the needs of this issue. I noted some options in the PR description. Happy to tweak it further, but I noticed you are using tags in this repo and that seemed the easiest way to get at version to use in docker push.

ajvb added a commit that referenced this issue Jan 23, 2020
Added version to docker tag #542
@ajvb
Copy link
Member

@ajvb ajvb commented Jan 23, 2020

Fixed with #607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.