mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
🐳 Extend to allow automatic master merge
This commit is contained in:
parent
b4fb5947dc
commit
6ea22f8451
9
.github/workflows/docker-images-nightly.yml
vendored
9
.github/workflows/docker-images-nightly.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue