refactor(core): Rebuild docker infrastructure (#8451)
This commit is contained in:
committed by
GitHub
parent
fc5c562785
commit
1db35c18e9
12
.github/workflows/docker-images-nightly.yml
vendored
12
.github/workflows/docker-images-nightly.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user