Conversation
andschneider
left a comment
There was a problem hiding this comment.
Down for this. Could it be published to ghcr.io/mlb-rs/mlbt though?
|
I'd also like to make the Docker image smaller so it's faster to pull. This PR should do the trick #82 |
I believe so? I'll test it. |
|
I think I'd like to add a docker build test to this on |
Might just need to merge this in with it and see what happens. Or change the action to run on push for this PR |
3a882bd to
9abe3df
Compare
I tested this out with a fake org. It works, the only thing you'll have to do is make the package public. |
This commit includes actions to publish images to the github container registry on both pushes to the main branch and tagged releases. The labels, most importantly the org.opencontainers.image.source is a requirement for public access to the built image. NOTE: For users to be able to pull the image, the mlbt package will need to be made public. This is located in package settings. Signed-off-by: Isaac Boyd <isaacnboyd@gmail.com>
9abe3df to
ccb9226
Compare
|
Looks like it worked! Thanks for this! |
Hello,
Please consider this PR. You can see how it works on my fork, https://github.com/isaacnboyd/mlbt/pkgs/container/mlbt.
This will publish images to
ghcr.io/andschneider/mlbt. This requires no action by yourself, it will use yourGITHUB_TOKEN,much like you already are doing with
softprops/action-gh-release@v1. This adds a "Packages" section to the right handcolumn as you can see on my fork: https://github.com/isaacnboyd/mlbt.
Let me know if you have questions and thanks for all the work you've done on this project recently!
=================================================================================
This commit includes actions to publish images to the github container registry on both pushes to the main branch and tagged releases. The labels, most importantly the org.opencontainers.image.source is a requirement for public access to the built image.