mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
success_url:
|
||||||
|
description: 'URL to call after the build is successful'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
@@ -318,6 +322,16 @@ jobs:
|
|||||||
${MANIFEST_TAG}-amd64 \
|
${MANIFEST_TAG}-amd64 \
|
||||||
${MANIFEST_TAG}-arm64
|
${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:
|
security-scan:
|
||||||
name: Security Scan
|
name: Security Scan
|
||||||
needs: [build-and-push-docker]
|
needs: [build-and-push-docker]
|
||||||
|
|||||||
Reference in New Issue
Block a user