ci!: Update docker images for v1 release (#6365)

* ci: Remove debian and rhel7 images

* include libc6-compat in all alpine images

* run all n8n docker containers as the user `node` instead of `root`

* upgrade the default version of npm bundled in all containers

* consolidate docker entrypoints
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-06-07 13:28:06 +02:00
committed by कारतोफ्फेलस्क्रिप्ट™
parent f6366160a4
commit f024d8be5a
12 changed files with 16 additions and 135 deletions

View File

@@ -8,10 +8,6 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
docker-context: ['', '-debian']
steps:
- uses: actions/checkout@v3
@@ -41,12 +37,12 @@ jobs:
- name: Build
uses: docker/build-push-action@v4
with:
context: ./docker/images/n8n${{ matrix.docker-context }}
context: ./docker/images/n8n
build-args: |
N8N_VERSION=${{ steps.vars.outputs.tag }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
provenance: false
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}${{ matrix.docker-context }}
ghcr.io/${{ github.repository_owner }}/n8n:${{ steps.vars.outputs.tag }}${{ matrix.docker-context }}
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}
ghcr.io/${{ github.repository_owner }}/n8n:${{ steps.vars.outputs.tag }}