fix: Add success url to docker build and push (no-changelog) (#16733)

This commit is contained in:
shortstacked
2025-06-26 13:20:00 +01:00
committed by GitHub
parent aa684afd87
commit 3af7efaffb

View File

@@ -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]