diff --git a/.github/workflows/docker-image-beta.yml b/.github/workflows/docker-image-beta.yml index 2050615862..ed99f6c009 100644 --- a/.github/workflows/docker-image-beta.yml +++ b/.github/workflows/docker-image-beta.yml @@ -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 diff --git a/docker/images/n8n-custom/Dockerfile b/docker/images/n8n-custom/Dockerfile index 0d6f9e54d2..594fe47fce 100644 --- a/docker/images/n8n-custom/Dockerfile +++ b/docker/images/n8n-custom/Dockerfile @@ -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