diff --git a/.github/workflows/publish_image_chart.yaml b/.github/workflows/publish_image_chart.yaml index c0e1d29593..c9d38ba48e 100644 --- a/.github/workflows/publish_image_chart.yaml +++ b/.github/workflows/publish_image_chart.yaml @@ -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 + # Login to push container images. - name: Log in to GHCR uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b #v2.0.0 @@ -76,6 +82,7 @@ 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 @@ -83,6 +90,7 @@ jobs: 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,6 +100,7 @@ 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 @@ -99,6 +108,7 @@ jobs: 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,6 +118,7 @@ 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 @@ -115,6 +126,7 @@ jobs: 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 @@ -122,6 +134,7 @@ jobs: 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 }}