ci: Add support for optionally including ARM64 support in custom images (no-changelog) (#8286)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-01-10 12:57:06 +01:00 committed by GitHub
parent de088bfcf8
commit b31fcdb578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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' }}