mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐳 Add support for optional success-url
This commit is contained in:
parent
345fa7c9c3
commit
3dab1b0302
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
|
||||||
|
|
Loading…
Reference in a new issue