mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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.'
|
description: 'Name of the docker tag to create.'
|
||||||
required: true
|
required: true
|
||||||
default: 'nightly'
|
default: 'nightly'
|
||||||
|
merge-master:
|
||||||
|
description: 'Merge with master.'
|
||||||
|
type: boolean
|
||||||
|
required: true
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -37,6 +42,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
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
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue