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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
86b9a4d
add qemu and buildx for multi arch (arm64)
hungran 0dca372
add launcher multiple platform
hungran 692b6d8
Merge branch 'master' into hungran/arm64
hungran 16691f5
Merge branch 'master' into hungran/arm64
hungran c2e31de
add okd, helloworld and pipectl arm64
hungran File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,13 +82,15 @@ jobs: | |
push: true | ||
context: . | ||
file: cmd/pipecd/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ env.GHCR }}/pipe-cd/pipecd:${{ env.PIPECD_VERSION }} | ||
- 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 }} | ||
|
@@ -92,13 +100,15 @@ jobs: | |
push: true | ||
context: . | ||
file: cmd/piped/Dockerfile-okd | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ env.GHCR }}/pipe-cd/piped-okd:${{ env.PIPECD_VERSION }} | ||
- name: Build and push launcher image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
push: true | ||
context: . | ||
file: cmd/launcher/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: | | ||
${{ env.GHCR }}/pipe-cd/launcher:${{ env.PIPECD_VERSION }} | ||
${{ env.GCR }}/pipecd/launcher:${{ env.PIPECD_VERSION }} | ||
|
@@ -108,20 +118,23 @@ jobs: | |
push: true | ||
context: . | ||
file: cmd/launcher/Dockerfile-okd | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ env.GHCR }}/pipe-cd/launcher-okd:${{ env.PIPECD_VERSION }} | ||
- name: Build and push pipectl image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
push: true | ||
context: . | ||
file: cmd/pipectl/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ env.GHCR }}/pipe-cd/pipectl:${{ env.PIPECD_VERSION }} | ||
- name: Build and push helloworld image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
push: true | ||
context: . | ||
file: cmd/helloworld/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
tags: | | ||
${{ env.GHCR }}/pipe-cd/helloworld:${{ env.PIPECD_VERSION }} | ||
${{ env.GCR }}/pipecd/helloworld:${{ env.PIPECD_VERSION }} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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