-
-
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
publish container images to ghcr.io #1379
Comments
Sorry, I don't understand what's the advantage of ghcr over Dockerhub. Why do we need both?
That's a bug. I think I'm missing the lychee/.github/workflows/docker.yml Lines 47 to 55 in 13f4339
Maybe that's all it takes to fix it.
This should already be possible (if the tag was available).
Note that the path to lychee inside the Docker image is |
We don't need both for sure, I just wanted to depend on ghcr.io for tagging. If the tagging issue is already solved via DockerHub registry then that will be great. From a project perspective, using |
0.14.3 is out now. I retriggered the pipeline. Don't know why it wasn't triggered before, but it wasn't the tagging. That part works. So we just need to keep an eye out for the next release. Maybe I'm missing a trigger somewhere. As you said, maintaining two registries would cause some overhead, so I'd prefer to avoid that. 😉 With that, I think we can close this. |
@mre @thomas-zahner Thank you for the new release. On DockerHub, I can see that we have latest, master, latest-alpine, master-alpine tag but not the semver tag that one can track with ongoing releases. I'll take a more deeper look into the pipeline during the weekend and see if I can fix it if it's not fixed already. |
@kranurag7, sure, let's look into it. Could you create a new issue, though, as this one is closed? 🙂 |
I looked into https://hub.docker.com/r/lycheeverse/lychee/tags and I didn't find any versioning that I can depend on.
I would like to have a container image carrying static lychee executable and whose tag is synced with lychee version released on GitHub. As of now, docker images are not tagged with new lychee version.
For example, we have 0.14.3 tag in GitHub releases but I don't have the image with that tag on DockerHub.
I think, we can create a workflow that will be executable once we cut a new release by pushing a tag. This workflow will build the container image in CI and then push it to ghcr.io or this organization.
Afterwards, we can use the image in a multistage pipeline or even standalone as well (
docker run --rm ghcr.io/lycheeverse/lychee .
)I intend to use it in the following manner in a multistage pipeline.
Happy to help here.
The text was updated successfully, but these errors were encountered: