-
Notifications
You must be signed in to change notification settings - Fork 9
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
Revert "Remove failing docker publish line" #64
Conversation
This reverts commit 5f647a9.
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.
This extra step was added for two reasons:
- Having amd container images available on all pushed to the repo (Not only pull requests but also on branches, like main)
- Speeding up the container image publish time. Building the image in arm and amd at the same time takes way too long. When the team publishes a new tag, the container image should be available as soon as possible. And as we only used the amd version of the image, this solution was sufficient enough.
With this change, we no longer have a container image on each push to the repository, and we don't speed up the builds for tags.
18b5003
to
d566bb1
Compare
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.
Build and Push Docker Images arm64
will override the image pushed from Build and Push Docker Image amd64
, resulting that the amd64 version is not available.
Yes, be careful with that, we faced this issue before and we missed some tags |
I think the best course of action is to dumb down this action then. This action should just build and push a single image. That image and the decision to push should be supplied by the calling repo. This would then allow each repo to customize which images they are building and when they are pushing them. All the issues seem to be stemming from us trying to do too many things within the one workflow call. So having the repos have multiple workflow calls seem like the best option. Thougts? |
My take: Teams don't want to handle this, they just want to release their software. The DevOps team owns that (not saying that this is right), and it's easier to control it in one place. |
4f8d271
to
ae8124e
Compare
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.
ack
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.
🚀
Reverts #62
and fixes logic to properly address the issue.