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
add qemu and buildx for multi arch (arm64) #4552
Changes from 1 commit
86b9a4d
0dca372
692b6d8
16691f5
c2e31de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,12 @@ jobs: | |
- name: Build web static | ||
run: make build/web | ||
|
||
# Setup QEMU and Buildx. | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 #v2.0.0 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 #2.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
|
||
# Login to push container images. | ||
- name: Log in to GHCR | ||
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b #v2.0.0 | ||
|
@@ -76,16 +82,20 @@ jobs: | |
push: true | ||
context: . | ||
file: cmd/pipecd/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ env.GHCR }}/pipe-cd/pipecd:${{ env.PIPECD_VERSION }} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove an empty line. |
||
- name: Build and push piped image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
push: true | ||
context: . | ||
file: cmd/piped/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: | | ||
${{ env.GHCR }}/pipe-cd/piped:${{ env.PIPECD_VERSION }} | ||
${{ env.GCR }}/pipecd/piped:${{ env.PIPECD_VERSION }} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove an empty line. |
||
- name: Build and push piped-okd image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
|
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.
Action QEMU v2.0.0 is using
node16
docker/setup-qemu-action#48