-
Notifications
You must be signed in to change notification settings - Fork 56
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
Build docker image in CI #2015
Build docker image in CI #2015
Conversation
e69cc5e
to
2343026
Compare
I'd also love to hear from @benjaoming and @voxpelli. 😊 |
@richardolsson Looks good to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Gonna add a further idea in a comment outside the review.
Additional speculation... Considering that this is perhaps gradually going to mature into more automated setups, you could also additionally experiment with getting closer to some "build=>test=>deploy" pipeline... one way could be by only pushing images if the current test workflow succeeds? (I mean, you merge to There's also the issue that if tests sometimes break for no good reasons, then the deploy isn't started... but that's good to know if things should be more automated 💡 I think if you run the current
...then adding |
Thank you @voxpelli and @benjaoming for having a look!
The way I've solved this for now is by setting up branch protection rules on GitHub. In order to update release, we have to make a PR, and that PR will run the tests and needs to be up to date (i.e. it is not allowed to be behind the So the workflow will be like this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see anything obviously strange, and I trust you, Benjamin and Pelle to have good skills around this area! Merge it!
Description
This PR sets up a CI workflow to build a docker image and push it to the GitHub container registry.
Screenshots
None
Changes
release
branch.github
to the.dockerignore
so that github workflows do not affect the image itselfNotes to reviewer
I appreciate that this might be difficult for anyone except myself to review, but any feedback (even questions) would be useful for me to really think this through.
Related issues
Undocumented