refactor(core): Rebuild docker infrastructure (#8451)
This commit is contained in:
committed by
GitHub
parent
fc5c562785
commit
1db35c18e9
14
.github/workflows/docker-base-image.yml
vendored
14
.github/workflows/docker-base-image.yml
vendored
@@ -9,7 +9,6 @@ on:
|
||||
required: true
|
||||
default: '18'
|
||||
options:
|
||||
- '16'
|
||||
- '18'
|
||||
- '20'
|
||||
|
||||
@@ -25,6 +24,13 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3.0.0
|
||||
with:
|
||||
@@ -34,11 +40,13 @@ jobs:
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
with:
|
||||
context: ./docker/images/n8n-base
|
||||
context: .
|
||||
file: ./docker/images/n8n-base/Dockerfile
|
||||
build-args: |
|
||||
NODE_VERSION=${{github.event.inputs.node_version}}
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
platforms: linux/amd64,linux/arm64
|
||||
provenance: false
|
||||
push: true
|
||||
tags: |
|
||||
${{ secrets.DOCKER_USERNAME }}/base:${{ github.event.inputs.node_version }}
|
||||
ghcr.io/${{ github.repository_owner }}/base:${{ github.event.inputs.node_version }}
|
||||
|
||||
Reference in New Issue
Block a user