File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -114,3 +114,21 @@ jobs:
114114 git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
115115 git tag -a "${{ steps.get_tag.outputs.version }}-${{ steps.get_tag.outputs.short_sha }}" -m "Release ${{ steps.get_tag.outputs.version }}-${{ steps.get_tag.outputs.short_sha }}"
116116 git push origin "${{ steps.get_tag.outputs.version }}-${{ steps.get_tag.outputs.short_sha }}"
117+
118+ -
119+ name : Trigger GoReleaser
120+ run : |
121+ curl -X POST \
122+ -H "Accept: application/vnd.github+json" \
123+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
124+ https://api.github.com/repos/${{ github.repository }}/actions/workflows/goreleaser.yml/dispatches \
125+ -d '{"ref":"${{ steps.get_tag.outputs.version }}-${{ steps.get_tag.outputs.short_sha }}"}'
126+
127+ -
128+ name : Trigger Docker Build
129+ run : |
130+ curl -X POST \
131+ -H "Accept: application/vnd.github+json" \
132+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
133+ https://api.github.com/repos/${{ github.repository }}/actions/workflows/docker.yml/dispatches \
134+ -d '{"ref":"${{ steps.get_tag.outputs.version }}-${{ steps.get_tag.outputs.short_sha }}"}'
Original file line number Diff line number Diff line change 11name : docker
22on :
3- release :
4- types : [published]
3+ workflow_dispatch : {}
4+ push :
5+ tags :
6+ - ' v*'
57jobs :
68 multi :
79 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : goreleaser
22on :
3+ workflow_dispatch : {}
34 push :
45 tags :
56 - ' v*'
You can’t perform that action at this time.
0 commit comments