let docker release workflow trigger github release directly

This commit is contained in:
github-actions[bot]
2025-10-29 15:00:09 +11:00
parent 15474845d8
commit 6af5130214
2 changed files with 13 additions and 8 deletions

View File

@@ -103,3 +103,16 @@ jobs:
BUILD_DATE=${{ github.event.repository.updated_at }}
VCS_REF=${{ github.sha }}
VERSION=${{ needs.extract-version.outputs.version }}
trigger-github-release:
name: Trigger GitHub Release Workflow
runs-on: ubuntu-latest
needs: docker-build
steps:
- name: Trigger Version Release Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: version-release.yml
token: ${{ secrets.PUBLISHER_TOKEN }}
ref: ${{ github.ref }}

View File

@@ -1,12 +1,6 @@
name: GitHub Release
on:
workflow_run:
workflows: ["Docker Release"]
types:
- completed
branches:
- 'release/**'
workflow_dispatch:
permissions:
@@ -19,8 +13,6 @@ jobs:
create-github-release:
name: Create GitHub Release
runs-on: ubuntu-latest
# Only run if the upstream workflow succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout code