mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐳 Add support for optional success-url
This commit is contained in:
8
.github/workflows/docker-images-nightly.yml
vendored
8
.github/workflows/docker-images-nightly.yml
vendored
@@ -22,6 +22,10 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: true
|
required: true
|
||||||
default: false
|
default: false
|
||||||
|
success-url:
|
||||||
|
description: 'URL to call after Docker Image got built successfully.'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -54,3 +58,7 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: n8nio/n8n:${{ github.event.inputs.tag || 'nightly' }}
|
tags: n8nio/n8n:${{ github.event.inputs.tag || 'nightly' }}
|
||||||
|
- name: Call Success URL - optionally
|
||||||
|
run: |
|
||||||
|
[[ "${{github.event.inputs.success-url}}" != "" ]] && curl -I ${{github.event.inputs.success-url}} || echo ""
|
||||||
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user