From b31fcdb5786691303a7e2a10e9698b44db2e0a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 10 Jan 2024 12:57:06 +0100 Subject: [PATCH] ci: Add support for optionally including ARM64 support in custom images (no-changelog) (#8286) --- .github/workflows/docker-images-nightly.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-images-nightly.yml b/.github/workflows/docker-images-nightly.yml index 2be6e40617..ce7a651783 100644 --- a/.github/workflows/docker-images-nightly.yml +++ b/.github/workflows/docker-images-nightly.yml @@ -35,6 +35,11 @@ on: description: 'URL to call after Docker Image got built successfully.' required: false default: '' + include-arm64: + description: 'Include ARM64 support' + type: boolean + required: true + default: false jobs: build: @@ -76,7 +81,7 @@ jobs: build-args: | N8N_RELEASE_TYPE=nightly file: ./docker/images/n8n-custom/Dockerfile - platforms: linux/amd64 + platforms: ${{ github.event.inputs.include-arm64 == 'true' && 'linux/amd64,linux/arm64' || 'linux/amd64' }} provenance: false push: true tags: ${{ secrets.DOCKER_USERNAME }}/n8n:${{ github.event.inputs.tag || 'nightly' }}