File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,15 +36,22 @@ jobs:
3636
3737 - name : echo version and changelog
3838 run : |
39- echo "${{ steps.version.outputs.version}}"
39+ echo "${{ steps.version.outputs.version }}"
4040 echo "${{ steps.changelog.outputs.changelog }}"
4141
42+ - name : push tag
43+ id : tag_version
44+ uses : mathieudutour/github-tag-action@v6.0
45+ with :
46+ github_token : ${{ secrets.GITHUB_TOKEN }}
47+ custom_tag : ${{ steps.version.outputs.version }}
48+
4249 - name : Create Release
4350 uses : ncipollo/release-action@v1.4.0
4451 with :
4552 name : ${{ steps.version.outputs.version }}
4653 tag : v${{ steps.version.outputs.version }}
47- body : ${{ steps.changelog.outputs.changelog}}
54+ body : ${{ steps.changelog.outputs.changelog }}
4855 draft : false
4956 prerelease : false
5057 # An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).
8794 with :
8895 images : ${{ env.IMAGE_NAME }},ghcr.io/${{ env.IMAGE_NAME }}
8996 tags : |
90- type=semver,pattern={{version}},value=${{needs.github-release.outputs.version}}
97+ type=semver,pattern={{version}},value=${{needs.github-release.outputs.version }}
9198
9299 - name : Build and push Docker image
93100 uses : docker/build-push-action@v2.7.0
You can’t perform that action at this time.
0 commit comments