fix: trigger Docker publish workflow in release pipeline

The release workflow publishes via GitHub API (patching draft to
published), which doesn't fire the release webhook. This meant the
Docker publish workflow was never triggered automatically.

Added explicit workflow dispatch for publish-docker.yml after release
publish, similar to how update-demo-server.yml was already dispatched.

Related to #797
This commit is contained in:
rcourtman 2025-12-02 17:32:30 +00:00
parent 4f824ab148
commit e74b09557d

View file

@ -444,6 +444,20 @@ jobs:
echo "✓ Release published as latest: ${TAG}"
- name: Trigger Docker image publish
continue-on-error: true # Non-fatal if dispatch fails
env:
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
run: |
TAG="${{ needs.extract_version.outputs.tag }}"
echo "Triggering Docker image publish for ${TAG}..."
# Publishing via API doesn't fire the release webhook, so we dispatch manually
# Requires WORKFLOW_PAT secret with 'repo' and 'workflow' scopes
gh workflow run publish-docker.yml -f tag="${TAG}"
echo "✓ Docker publish workflow dispatched"
- name: Trigger demo server update
continue-on-error: true # Non-fatal if dispatch fails
env:
@ -452,8 +466,6 @@ jobs:
TAG="${{ needs.extract_version.outputs.tag }}"
echo "Triggering demo server update for ${TAG}..."
# Publishing via API doesn't fire the release webhook, so we dispatch manually
# Requires WORKFLOW_PAT secret with 'repo' and 'workflow' scopes
gh workflow run update-demo-server.yml -f tag="${TAG}"
echo "✓ Demo server update workflow dispatched"