From 29bc6cb9a2b466b4c037db215c954771edda53a3 Mon Sep 17 00:00:00 2001 From: Alexander <4584443+DragonStuff@users.noreply.github.com> Date: Sat, 28 Aug 2021 07:05:08 +0900 Subject: [PATCH] fix(ci): add multi-arch image builds Fixes !2282. --- .github/workflows/container_latest.yml | 4 ++-- .github/workflows/container_release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.yml index e4b3c2a38..08bce3c80 100644 --- a/.github/workflows/container_latest.yml +++ b/.github/workflows/container_latest.yml @@ -55,7 +55,7 @@ jobs: context: ./docker push: ${{ github.event_name != 'pull_request' }} file: ./docker/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} @@ -109,6 +109,6 @@ jobs: context: ./docker push: ${{ github.event_name != 'pull_request' }} file: ./docker/Dockerfile.go_build - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} diff --git a/.github/workflows/container_release.yml b/.github/workflows/container_release.yml index 1ade0878e..0dd55df1a 100644 --- a/.github/workflows/container_release.yml +++ b/.github/workflows/container_release.yml @@ -58,7 +58,7 @@ jobs: context: ./docker push: ${{ github.event_name != 'pull_request' }} file: ./docker/Dockerfile.go_build - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} build-large: @@ -113,6 +113,6 @@ jobs: context: ./docker push: ${{ github.event_name != 'pull_request' }} file: ./docker/Dockerfile.go_build_large - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }}