refactor(core): Rebuild docker infrastructure (#8451)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-01-26 13:18:49 +01:00
committed by GitHub
parent fc5c562785
commit 1db35c18e9
11 changed files with 75 additions and 100 deletions

View File

@@ -35,11 +35,6 @@ 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:
@@ -78,14 +73,15 @@ jobs:
uses: docker/build-push-action@v5.1.0
with:
context: .
file: ./docker/images/n8n-custom/Dockerfile
build-args: |
N8N_RELEASE_TYPE=nightly
file: ./docker/images/n8n-custom/Dockerfile
platforms: ${{ github.event.inputs.include-arm64 == 'true' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
platforms: linux/amd64,linux/arm64
provenance: false
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ secrets.DOCKER_USERNAME }}/n8n:${{ github.event.inputs.tag || 'nightly' }}
no-cache: true
- name: Call Success URL - optionally
run: |