-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
breaking!(buildDockerAndPublishImage): support multi-platform with Docker Bake for building Linux container images #730
Conversation
last successful build for wiki with this PR : https://infra.ci.jenkins.io/job/docker-jobs/job/docker-confluence-data/job/PR-48/63/pipeline-graph/ |
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.
First pass of review:
- You have to update the documentation of the method (both
README.md
and the txt file) - You have to update the PR title and body
- There are missing unit tests for some if / WARNING
- A few code discussion (removal of untested or untestable code, a few suggestions on comments, code style and naming conventions)
It is a great job, the code looks really nice! 👏
The end to end tests are good and shows that the intent work!
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.
One last thing to fix (multiple docker buildx create --use
instructions), the rest is LGTM once it is fixed
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.
That looks good to me 👏 Let's roll!
as per jenkins-infra/helpdesk#3619
provide the ability to build docker images for multi platforms as linux/arm64, linux/amd64 etc ...
this use the bake mode to directly build multiplatform.
It also convert "normal" one platform build for linux as docker bake build in buildx engine.
BREAKING CHANGES :
makefile
parameterIMAGE_PLATFORM
change forBUILD_TARGETPLATFORM
platform
change fortargetplatforms
(the deprecated parameter is still consume for now)