From 7f335a2b9c8e12cf74203645893d014a5a01d03c Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 13 Apr 2023 22:54:46 +0800 Subject: [PATCH] Update '.gitea/workflows/release-tag.yml' (#541) Reviewed-on: https://gitea.com/gitea/tea/pulls/541 Reviewed-by: techknowlogick Co-authored-by: Lunny Xiao Co-committed-by: Lunny Xiao --- .gitea/workflows/release-tag.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release-tag.yml b/.gitea/workflows/release-tag.yml index e9920b8..7e640e5 100644 --- a/.gitea/workflows/release-tag.yml +++ b/.gitea/workflows/release-tag.yml @@ -1,6 +1,9 @@ name: goreleaser -on: [tags] +on: + push: + tags: + - '*' jobs: goreleaser: @@ -20,6 +23,7 @@ jobs: with: gpg_private_key: ${{ secrets.GPGSIGN_KEY }} passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }} + fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0 - name: goreleaser uses: https://github.com/goreleaser/goreleaser-action@v4 with: @@ -33,7 +37,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} S3_REGION: ${{ secrets.AWS_REGION }} S3_BUCKET: ${{ secrets.AWS_BUCKET }} + GORELEASER_FORCE_TOKEN: 'gitea' GPGSIGN_PASSPHRASE: ${{ secrets.GPGSIGN_PASSPHRASE }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }} - GITHUB_TOKEN: