Skip to content

Commit

Permalink
added arm64 build for piped-base and other images (#5395)
Browse files Browse the repository at this point in the history
* chore: format

Signed-off-by: ponkio-o <[email protected]>

* chore: update action version

Signed-off-by: ponkio-o <[email protected]>

* change: added linux/arm64

Signed-off-by: ponkio-o <[email protected]>

* change: use gcr.io/google.com/cloudsdktool/google-cloud-cli instead of google/clodu-sdk

Signed-off-by: ponkio-o <[email protected]>

* fix: add to setup build and qemu

Signed-off-by: ponkio-o <[email protected]>

---------

Signed-off-by: ponkio-o <[email protected]>
Co-authored-by: Shinnosuke Sawada-Dazai <[email protected]>
  • Loading branch information
ponkio-o and Warashi authored Dec 10, 2024
1 parent 5cbd306 commit 4e74757
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,27 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image:
image:
- actions-gh-release
- actions-plan-preview
- codegen
- piped-base
- piped-base-okd
- firestore-emulator
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Determine version
run: echo "PIPECD_VERSION=$(git describe --tags --always --abbrev=7)" >> $GITHUB_ENV

- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

- uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1

- name: Build ${{ matrix.image }} image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 #v5.0.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
context: tool/${{ matrix.image }}
tags: ${{ env.REGISTRY }}/pipe-cd/${{ matrix.image }}:${{ env.PIPECD_VERSION }}
platforms: linux/amd64,linux/arm64
2 changes: 1 addition & 1 deletion tool/firestore-emulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GOOGLE_CLOUD_SDK_VERSION=392.0.0-alpine

FROM google/cloud-sdk:$GOOGLE_CLOUD_SDK_VERSION
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:$GOOGLE_CLOUD_SDK_VERSION

RUN apk add --update --no-cache openjdk11-jre-headless

Expand Down

0 comments on commit 4e74757

Please sign in to comment.