-
Notifications
You must be signed in to change notification settings - Fork 78
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
CI: Build multi-platform Docker images #727
Conversation
Best reviewed: commit by commit
Optimal code review plan (1 warning)
|
[CHATOPS:HELP] ChatOps commands.
|
1789c41
to
75f5ff1
Compare
342d715
to
e818805
Compare
could you please write a description ? |
introduced BASE_TAG because using 'latest' tag is a bad practice. |
/rebase |
[REBASE] Rebase triggered by rinx for branch: feature/ci/multi-platform-docker-images |
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]> :green_heart: fix build Signed-off-by: Rintaro Okamura <[email protected]> :green_heart: fix platforms Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
e42034f
to
45c1faa
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.
Others looks good to me
dockers/base/Dockerfile
Outdated
&& rm "go${GO_VERSION}.linux-amd64.tar.gz" \ | ||
&& ln -s /opt/go/bin/go /usr/bin/ \ | ||
COPY --from=golang /usr/local/go /opt/go | ||
RUN ln -s /opt/go/bin/go /usr/bin/ \ |
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.
$GOROOT/bin includes multiple binary. it would be better to add $GOROOT/bin to $PATH
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.
thanks. fixed
Signed-off-by: Rintaro Okamura <[email protected]>
dockers/base/Dockerfile
Outdated
COPY --from=golang /usr/local/go /opt/go | ||
RUN ln -s /opt/go/bin/go /usr/bin/ \ |
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.
COPY --from=golang /usr/local/go /opt/go | |
RUN ln -s /opt/go/bin/go /usr/bin/ \ | |
COPY --from=golang /usr/local/go ${GOROOT} | |
RUN ln -s ${GOROOT}/bin/go /usr/bin/ \ |
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.
revised but it's different a little
Signed-off-by: Rintaro Okamura <[email protected]>
/rebase |
[REBASE] Rebase triggered by kpango for branch: feature/ci/multi-platform-docker-images |
[FORMAT] Updating license headers and formatting go codes triggered by kpango. |
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.
[APPROVED] This PR is approved by kpango.
I'm checking the failed CI build. please wait for a moment. |
it failed on exporting layer phase because of 500 error of the registry. i've just restarted it. |
Signed-off-by: Rintaro Okamura <[email protected]>
Signed-off-by: Rintaro Okamura <[email protected]>
Description:
Related Issue:
Nothing
How Has This Been Tested?:
Nothing
Environment:
Types of changes:
Changes to Core Features:
Checklist: