From 14f6821da3b61acaf74ce67d06e434f873e17a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borja=20Dom=C3=ADnguez?= Date: Wed, 11 Jan 2023 21:53:01 +0100 Subject: [PATCH] Add linux/arm64 platform to docker build --- .github/workflows/deploy-ALPHA-flavors.yml | 4 ++-- .github/workflows/deploy-ALPHA.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-ALPHA-flavors.yml b/.github/workflows/deploy-ALPHA-flavors.yml index d1a7598d96e..a581909c206 100644 --- a/.github/workflows/deploy-ALPHA-flavors.yml +++ b/.github/workflows/deploy-ALPHA-flavors.yml @@ -89,7 +89,7 @@ jobs: IMAGE_REPO: oxsecurity/megalinter-${{ matrix.flavor }} IMAGE_VERSION: alpha DOCKERFILE_PATH: flavors/${{ matrix.flavor }}/Dockerfile - DOCKER_BUILD_PLATFORMS: linux/amd64 + DOCKER_BUILD_PLATFORMS: linux/amd64,linux/arm64 REGISTRY: Docker SQUASH: "true" shell: bash @@ -106,7 +106,7 @@ jobs: IMAGE_REPO: oxsecurity/megalinter-${{ matrix.flavor }} IMAGE_VERSION: alpha DOCKERFILE_PATH: flavors/${{ matrix.flavor }}/Dockerfile - DOCKER_BUILD_PLATFORMS: linux/amd64 + DOCKER_BUILD_PLATFORMS: linux/amd64,linux/arm64 REGISTRY: GCR SQUASH: "true" shell: bash diff --git a/.github/workflows/deploy-ALPHA.yml b/.github/workflows/deploy-ALPHA.yml index 180cf5355fb..dd9a7b19946 100644 --- a/.github/workflows/deploy-ALPHA.yml +++ b/.github/workflows/deploy-ALPHA.yml @@ -69,7 +69,7 @@ jobs: IMAGE_REPO: oxsecurity/megalinter IMAGE_VERSION: alpha DOCKERFILE_PATH: Dockerfile - DOCKER_BUILD_PLATFORMS: linux/amd64 + DOCKER_BUILD_PLATFORMS: linux/amd64,linux/arm64 REGISTRY: Docker shell: bash run: .automation/upload-docker.sh @@ -86,7 +86,7 @@ jobs: IMAGE_REPO: oxsecurity/megalinter IMAGE_VERSION: alpha DOCKERFILE_PATH: Dockerfile - DOCKER_BUILD_PLATFORMS: linux/amd64 + DOCKER_BUILD_PLATFORMS: linux/amd64,linux/arm64 REGISTRY: GCR shell: bash run: .automation/upload-docker.sh