diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f8ee06b9..fbc3f339 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,7 +74,6 @@ jobs: rm ~/private.key.pem - name: Run GoReleaser with SNAPSHOT - if: github.event_name == 'workflow_dispatch' id: goreleaser env: GITHUB_TOKEN: ${{ env.FORGEJO_TOKEN }} @@ -83,16 +82,6 @@ jobs: with: args: release --skip publish --clean --snapshot - - name: Run GoReleaser - if: github.event_name != 'workflow_dispatch' - id: goreleaser - env: - GITHUB_TOKEN: ${{ env.FORGEJO_TOKEN }} - GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }} - uses: goreleaser/goreleaser-action@v6 - with: - args: release --skip publish --clean - - name: Prepare key file run: | echo "${{ secrets.PUBLIC_KEY_PEM }}" >public_key.pem @@ -106,7 +95,7 @@ jobs: --providerName=stackitprivatepreview \ --repoName=terraform-provider-stackitprivatepreview \ --domain=tfregistry.sysops.stackit.rocks \ - --gpgFingerprint=${{ secrets.GPG_FINGERPRINT }} \ + --gpgFingerprint="${{ secrets.GPG_FINGERPRINT }}" \ --gpgPubKeyFile=public_key.pem \ --version=${VERSION}