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

Docker semver supports #2032

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

finagin
Copy link
Contributor

@finagin finagin commented Feb 23, 2024

Append docker semver support to using like:

docker pull gollumwiki/gollum
docker pull gollumwiki/gollum:latest
docker pull gollumwiki/gollum:5.3.2         # Concrete version
docker pull gollumwiki/gollum:5.3           # Concrete minor version with latest hotfixes
docker pull gollumwiki/gollum:5             # Concrete major version with latest minor updates and hotfixes
docker pull gollumwiki/gollum:db4adc2       # Concrete commit

docker pull ghcr.io/gollum/gollum:5.3       # Use GitHub Container Registry as alternative registry

Copy link
Member

@benjaminwil benjaminwil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice improvement. I don't know that Gollum uses the GitHub Container Registry at all right now, so we'll either want to set that up first or remove that part of the commit.

cc: @dometto since I think you'd be the person with the keys for the GHCR.

@finagin
Copy link
Contributor Author

finagin commented Mar 15, 2024

cc: @dometto since I think you'd be the person with the keys for the GHCR.

GitHub Actions have access to GitHub Container Registry

@dometto
Copy link
Member

dometto commented Mar 15, 2024

Thanks for this PR!

We would have to check whether we could get free unlimited public downloads from ghcr. But also we'd have to find a way of letting users know that the container registry has changed from dockerhub to ghcr. I'm not against such a move but in the interest of time it might be easier to just stick with dockerhub for the moment. Or does only ghcr support semver?

@benjaminwil
Copy link
Member

This pull request adds GHCR, but Dockerhub is still included here.

@finagin
Copy link
Contributor Author

finagin commented Mar 27, 2024

@dometto, are u here?

@dometto
Copy link
Member

dometto commented Mar 27, 2024

Sorry for the long wait. I believe pushing a container to ghcr is enough to setup the relevant Package, but we can just merge and see if action needs to be taken.

It looks like ghcr is free for public containers (this has either changed, or else it was previously not so clear on https://ghcr.io -- I remember being a bit unsure about the pricing when doing previous research), so happy to add it here. Ready to merge as far as I'm concerned!

Thanks for the patience @finagin

@dometto dometto merged commit 4591bf7 into gollum:master Mar 27, 2024
6 checks passed
@dometto
Copy link
Member

dometto commented Mar 28, 2024

@finagin the ghcr and dockerhub packages were published successfully, but it appears the master tag is not being applied anymore to the latest image build: https://hub.docker.com/layers/gollumwiki/gollum/sha-4591bf7/images/sha256-01ade3a57181307edac1a0fa510a36e75f3a6322b1c3c4020665d5b562e2b414?context=explore

Any chance that can be added in addition to the semver labels?

@finagin
Copy link
Contributor Author

finagin commented Mar 29, 2024

Hmm🤔
I'll try to fix it this weekend

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

Successfully merging this pull request may close these issues.

None yet

3 participants