We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d000ea4 commit 3c1b995Copy full SHA for 3c1b995
.github/workflows/release-please.yml
@@ -72,6 +72,20 @@ jobs:
72
env:
73
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
74
75
+ # Trigger Docker build workflow
76
+ # Note: Releases created with GITHUB_TOKEN don't trigger other workflows,
77
+ # so we must explicitly dispatch the docker-publish workflow
78
+ - name: Trigger Docker build
79
+ if: ${{ steps.release.outputs.release_created }}
80
+ env:
81
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82
+ RELEASE_TAG: ${{ steps.release.outputs.tag_name }}
83
+ run: |
84
+ gh workflow run docker-publish.yml \
85
+ --ref "$RELEASE_TAG" \
86
+ -f release_tag="$RELEASE_TAG" \
87
+ -f publish_latest=true
88
+
89
- name: Dispatch downstream repository
90
if: ${{ steps.release.outputs.release_created }}
91
0 commit comments