mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 14:13:33 +03:00
ci: Remove scheduled build for beta, and fix the inputs (no-changelog)
This commit is contained in:
parent
04632ef1b8
commit
bc9fa10b06
21
.github/workflows/docker-image-beta.yml
vendored
21
.github/workflows/docker-image-beta.yml
vendored
@ -1,17 +1,16 @@
|
||||
name: Docker Image - Beta
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
workflow_dispatch:
|
||||
branch:
|
||||
description: 'Branch to create image off.'
|
||||
required: true
|
||||
default: 'ai-beta'
|
||||
tag:
|
||||
description: 'Name of the docker tag to create.'
|
||||
required: true
|
||||
default: 'ai-beta-nightly'
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Branch to create image off.'
|
||||
required: true
|
||||
default: 'ai-beta'
|
||||
tag:
|
||||
description: 'Name of the docker tag to create.'
|
||||
required: true
|
||||
default: 'ai-beta'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -20,7 +19,7 @@ jobs:
|
||||
- uses: actions/checkout@v3.5.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.inputs.branch || 'ai-tool-creation-breaking' }}
|
||||
ref: ${{ github.event.inputs.branch || 'ai-beta' }}
|
||||
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
@ -1,5 +1,4 @@
|
||||
ARG NODE_VERSION=18
|
||||
ARG N8N_RELEASE_TYPE=dev
|
||||
|
||||
# 1. Create an image to build n8n
|
||||
FROM n8nio/base:${NODE_VERSION} as builder
|
||||
@ -26,6 +25,7 @@ RUN rm -rf patches .npmrc *.yaml node_modules/.cache packages/**/node_modules/.c
|
||||
|
||||
# 2. Start with a new clean image with just the code that is needed to run n8n
|
||||
FROM n8nio/base:${NODE_VERSION}
|
||||
ARG N8N_RELEASE_TYPE=dev
|
||||
COPY --from=builder /home/node /usr/local/lib/node_modules/n8n
|
||||
RUN ln -s /usr/local/lib/node_modules/n8n/packages/cli/bin/n8n /usr/local/bin/n8n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user