mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐳 Extend to allow automatic master merge
This commit is contained in:
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user