mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix: Add success url to docker build and push (no-changelog) (#16733)
This commit is contained in:
14
.github/workflows/docker-build-push.yml
vendored
14
.github/workflows/docker-build-push.yml
vendored
@@ -43,6 +43,10 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
success_url:
|
||||
description: 'URL to call after the build is successful'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
pull_request:
|
||||
types:
|
||||
@@ -318,6 +322,16 @@ jobs:
|
||||
${MANIFEST_TAG}-amd64 \
|
||||
${MANIFEST_TAG}-arm64
|
||||
|
||||
call-success-url:
|
||||
name: Call Success URL
|
||||
needs: [create_multi_arch_manifest]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Call Success URL - optionally
|
||||
if: ${{ github.event.inputs.success_url != '' }}
|
||||
run: curl -v ${{github.event.inputs.success_url}} || echo ""
|
||||
shell: bash
|
||||
|
||||
security-scan:
|
||||
name: Security Scan
|
||||
needs: [build-and-push-docker]
|
||||
|
||||
Reference in New Issue
Block a user