-
Notifications
You must be signed in to change notification settings - Fork 277
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
Push Docker images for tags only #3008
Conversation
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.
Totally on board with this, thanks for making this change! The build seems to fail but it must be a glitch, will trigger a re-run.
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.
Oh actually the build is failing because the first push job had the docker login
statement we need so you might need to move that down to the next one.
Ha, thanks for catching this! I opened the PR with too much confidence and then didn't bother to check the CI status 😄 |
I agree with Chris. We don't need to publish absolutely everything. Better only to publish the things we tag. |
We have implemented a process that uses release candidates for pre-release testing and deployments, so there’s no need anymore to push Docker images for every commit. This is wasteful in terms of bandwidth and storage resources and clutters the image repository.
87b7dc0
to
063b1b9
Compare
Alright, thanks again for catching my mistakes. I’ve fixed the workflow and tested it to make sure it will publish images for tagged commits successfully ;) https://github.com/alephdata/aleph/pkgs/container/aleph/88237955?tag=test-updated-workflows |
We have implemented a process that uses release candidates for pre-release testing and deployments, so there’s no need anymore to push Docker images for every commit. This is wasteful in terms of bandwidth and storage resources and clutters the image repository.
@catileptic @Rosencrantz @stchris This is something we have discussed a few times before, tbh I’m not sure anymore what exactly our conclusion was. Let me know if you have concerns or in case we do actually still depend on images built from commits that are not tagged.