From 8a38545b6f4306afb51c292107bbfe57cbf707ea Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Mon, 19 Sep 2022 12:10:28 +0530 Subject: [PATCH] Make CI create multi-platform image --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38cbd82..843b751 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Set up Go uses: actions/setup-go@v2 with: @@ -55,6 +61,7 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -75,6 +82,7 @@ jobs: with: context: . file: ./Dockerfile.initialize + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta-init.outputs.tags }} labels: ${{ steps.meta-init.outputs.labels }} @@ -95,6 +103,7 @@ jobs: with: context: . file: ./Dockerfile.synchronizer + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta-sync.outputs.tags }} labels: ${{ steps.meta-sync.outputs.labels }}