-
Notifications
You must be signed in to change notification settings - Fork 150
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
Version numbers/identifiers for Docker image tags #146
Comments
We use the second date-based option for Boulder's docker image tags. I'd be slightly in favour of that for consistency's sake. |
Considering the amount of commits Pebble has, this is essentially equivalent to Would every day get a new date tag, or would only days when new commits are added get a new date tag? |
Only days where new commits were added. I think Pebble's commit volume is pretty low. |
I haven't been able to figure out how to get Dockerhub autobuilds working for a public repo in the Let's Encrypt organization. I must be missing something silly but it only ever shows me repositories from my own Github account. In the meantime I pushed a |
@cpu You need to create the repo like that: |
@ldez That's the section of DockerHub I've been interacting with (following the instructions here: https://docs.docker.com/docker-hub/github/) After clicking the "Create Automated Build" I land on this screen: Choosing the Github option then brings me to a page where I can see my own linked Github account's repositories: Despite being a member of the Let's Encrypt organization (I seem to have admin rights on our org's repos in Dockerhub) it doesn't show anything but my own personal repositories. E.g. I can't select this github.com/letsencrypt/pebble repository. Am I doing something silly? The DockerHub "LetsEncrypt" organization predates me. Maybe there are account credentials for it that could be used to log in to the dockerhub that I should be using instead? |
Aha! I read the docs a second time and I think this might be the catch I'm missing: https://docs.docker.com/docker-hub/github/#github-organizations I'll investigate and see if our GH org admin needs to activate this. |
Docker hub have a bug to refresh repositories. |
Sorry try to |
@ldez I'm 100% stumped. I've unlinked and relinked my Github several times (and also logged in/out of Dockerhub) with no results. I added the "Docker" service to the repo (despite the deprecation warnings), and it shows a "green" status: I also had a Github org admin for the "letsencrypt" org check the org perms and they indicated there doesn't seem to be anything missing. Despite all of the above I still can only see my own repositories when following the instructions for creating an auto-build with Dockerhub. Pretty frustrating! I'm open to suggestions. I must be missing something.... |
As you can see I can access to the repositories of an organization. To be sure:
Do you have the "good" rights on the https://hub.docker.com/u/letsencrypt/ organization? |
Very strange. I see what you mean but the Let's Encrypt organization doesn't show up for me in "Users/Organizations"
Yup! Tried that several times now, also making sure to revoke from the Github side.
As far as I know. I'm able to edit the DockerHub organization settings. I was also able to create the "letsencrypt/pebble" repository: https://hub.docker.com/r/letsencrypt/pebble/ |
I haven't had a chance to try and take another crack at auto-builds. In the meantime I'll push new tags when master changes manually 😭 |
Could you add a 'latest' tag to pebble and pebble-challtestsrv? I would like to use the official docker images instead of my selfmade ones. However, with the release dates only, I'd have to change my build script on every pebble update. 😉 Thank you! |
There's now a nice PR from @ldez that will add Docker image auto-publishing if its merged. I think this is a good time to revisit the discussion about what kind of versioning system folks would like to see Pebble use before I go ahead and merge it. Historically I matched Boulder's approach and published date based tags (
I think having an image per-commit hash is perhaps overkill but the having a I think the only remaining question from my perspective is whether I should be creating the date based tags still or switch to something more formal like semantic versioning and push tags like @felixfontein @ldez @shred You folks are the only consumers of the Pebble images I can tag off-hand. What are your preferences? I'm slightly in favour of dropping the "date" tags and using semver. @jsha @rolandshoemaker Do you two have any opinions here? |
Personally I would prefer semver. The commit hash would be fine too, and would also mean less work for you. But since I am going to use the |
I agree with @shred and I will also use So your choice will be best 😸 |
I forgot something:
|
I can't use |
Semver is great! |
I propose to update my PR like that:
Are you agree? |
@ldez Yes that sounds great. It sounds like everyone is comfortable with semver so we'll go that direction for making tags/releases 👍 Thanks! |
This is all wrapped up now 🎉 I released a |
It would be nice if there would be some kind of version numbers or identifiers for Pebble which can be used to identify specific versions, for example for tags in the official Pebble repository (https://hub.docker.com/r/letsencrypt/pebble/tags/). Having only latest is not so useful if you want to target a specific version :-)
Ideas for version identifiers:
master
) (I'm using that right now for a ACME testing container);master
on that day);I think I'd prefer the first solution, since it is the simplest to implement. Any suggestions/thoughts/ideas?
The text was updated successfully, but these errors were encountered: