Skip to content

Commit

Permalink
ci: Add support for optionally including ARM64 support in custom imag…
Browse files Browse the repository at this point in the history
…es (no-changelog)
  • Loading branch information
netroy committed Jan 10, 2024
1 parent ccde38a commit 69850bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-images-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
provenance: false
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/n8n:${{ github.event.inputs.tag || 'nightly' }}
Expand Down

0 comments on commit 69850bd

Please sign in to comment.