1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-19 08:57:09 +03:00

🐳 Extend to allow automatic master merge

This commit is contained in:
Jan Oberhauser 2022-02-10 14:14:55 +01:00
parent b4fb5947dc
commit 6ea22f8451

View File

@ -17,6 +17,11 @@ on:
description: 'Name of the docker tag to create.'
required: true
default: 'nightly'
merge-master:
description: 'Merge with master.'
type: boolean
required: true
default: false
jobs:
build:
@ -37,6 +42,10 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Merge Master - optionally
run: |
[[ "${{github.event.inputs.merge-master}}" == "true" ]] && git merge master || echo ""
shell: bash
- name: Build and push
uses: docker/build-push-action@v2
with: