File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,19 @@ jobs:
6464 cache-to : type=gha,mode=max
6565
6666 - name : Create GitHub Release
67- uses : softprops/action-gh-release@v2
68- with :
69- name : Release ${{ steps.version.outputs.VERSION }}
70- generate_release_notes : true
71- append_body : true
72- body : |
73-
74- ## Docker Image
75-
76- ```bash
77- docker pull ${{ env.DOCKER_REPO }}/${{ env.DOCKER_IMAGE }}:${{ steps.version.outputs.VERSION }}
78- ```
79- draft : true
80- prerelease : false
67+ env :
68+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69+ run : |
70+ gh release create "v${{ steps.version.outputs.VERSION }}" \
71+ --repo="$GITHUB_REPOSITORY" \
72+ --title="Release ${{ steps.version.outputs.VERSION }}" \
73+ --notes-file <(cat <<'EOF'
74+ ## Docker Image
75+
76+ ```bash
77+ docker pull ${{ env.DOCKER_REPO }}/${{ env.DOCKER_IMAGE }}:${{ steps.version.outputs.VERSION }}
78+ ```
79+ EOF
80+ ) \
81+ --generate-notes \
82+ --draft
You can’t perform that action at this time.
0 commit comments