Skip to content

Commit ea79f12

Browse files
committed
ci(release): use recommended method
1 parent d659a36 commit ea79f12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ jobs:
128128
result-encoding: string
129129
- name: Trigger Release
130130
if: env.VERSION != '' && steps.check-release.outputs.result == 'undefined'
131-
# zizmor: ignore[archived-uses] only official release action
132-
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
133131
env:
134-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
135-
with:
136-
release_name: ${{ env.VERSION }}
137-
tag_name: v${{ env.VERSION }}
132+
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
133+
shell: bash
134+
run: |
135+
set -euo pipefail
136+
IFS=$'\n\t'
137+
gh release create --generate-notes "v${VERSION}" --title "${VERSION}"

0 commit comments

Comments
 (0)