From e451a0882b480f3170815785edbc2c0830d08a68 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Tue, 9 Jul 2024 18:34:12 -0400 Subject: [PATCH] ci: Update build.yml workflow --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c03a83a19..02567bb72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,11 @@ on: default: false required: true type: boolean + skiparm: + description: 'Skip ARM64 Build' + default: false + required: true + type: boolean ignoreLowerCoverage: description: 'Ignore Lower Coverage' default: false @@ -245,7 +250,7 @@ jobs: with: context: . file: dev/build/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: ${{ github.event.inputs.skiparm == 'true' && 'linux/amd64' || 'linux/amd64,linux/arm64' }} push: true tags: ghcr.io/ietf-tools/datatracker:${{ env.PKG_VERSION }} cache-from: type=gha