From be83c240baad3ef5b043420e6980c4d8699bb427 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Thu, 25 Mar 2021 15:16:38 +0100 Subject: [PATCH] :whale: Allow manual rpi docker image build --- .github/workflows/docker-images-rpi.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-images-rpi.yml b/.github/workflows/docker-images-rpi.yml index 155fd61158..1eeb66ecdb 100644 --- a/.github/workflows/docker-images-rpi.yml +++ b/.github/workflows/docker-images-rpi.yml @@ -4,6 +4,12 @@ on: push: tags: - n8n@* + workflow_dispatch: + inputs: + version: + description: 'n8n version to build docker image for.' + required: true + default: '0.112.0' jobs: armv7_job: @@ -28,7 +34,7 @@ jobs: run: | docker buildx build \ --platform linux/arm/v7 \ - --build-arg N8N_VERSION=${{steps.vars.outputs.tag}} \ - -t ${{ secrets.DOCKER_USERNAME }}/n8n:${{steps.vars.outputs.tag}}-rpi \ + --build-arg N8N_VERSION=${{github.event.inputs.version || steps.vars.outputs.tag}} \ + -t ${{ secrets.DOCKER_USERNAME }}/n8n:${{github.event.inputs.version || steps.vars.outputs.tag}}-rpi \ -t ${{ secrets.DOCKER_USERNAME }}/n8n:latest-rpi \ --output type=image,push=true docker/images/n8n-rpi