feat(infra): Publish Docker image on release#1183
feat(infra): Publish Docker image on release#1183Alex-deVis wants to merge 1 commit intocrate-ci:masterfrom
Conversation
The post-release job will trigger publish-docker-image job which builds and pushes the image to the GitHub Container Registry (ghcr.io). The image is tagged with the semver tag and latest. Signed-off-by: Alex Apostolescu <alexx.apostolescu@gmail.com>
|
At my quick glance, this seems very different than the workflow from #1116. As the person purposing this alternative workflow, could you step through why you made different decisions? |
|
Hello, @epage, thanks for taking the time to review! My PR only addresses building the docker image on release to be able to run the action locally similarly to how it is run on GH actions pipeline. I have no interest in updating the Dockerfile. Therefore, you could say that the PRs are complementary; in my view, changes on Dockerfile should be separated from changes on actions. The backbone for my changes is this guide from GitHub. Let's dive into my changes:
|
|
Hi, @epage! Bump on this. |
|
Please don't bump. I have a queue I'm working through, made worse from the holidays, and this creates extra noise. |
|
Hi, @epage, I respect that you have a list and requested not to be bumped on updates. The PR remained stable and requires minimal feedback to go forward and add an essential feature.
Again, I respect your schedule and am eager to help you with information to merge this. |
|
That is very rude to re-bump a PR when you've already been told not to bump it. |
|
A couple of comments from a scan:
|
Provide an official Docker Hub distribution for releases so users can pull typos without building from source or relying on stale third-party images. Refs: crate-ci#427 Related: crate-ci#1116, crate-ci#1183
Provide an official Docker Hub distribution for releases so users can pull typos without building from source or relying on stale third-party images. Refs: crate-ci#427 Related: crate-ci#1116, crate-ci#1183
The post-release job will trigger the publish-docker-image job which builds and pushes the image to the GitHub Container Registry (ghcr.io). The image is tagged with the
semver tagandlatest.Regarding #427 (comment), even a focused image can be helpful for local development and testing. I think it would be beneficial to start publishing the image even if it might change in the future.
I tested these changes on my fork:
publish-docker-imageactionFixes: #427