diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index c4ce8fe39d74..752d48e5138e 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -90,6 +90,11 @@ jobs: run: | echo "$GPG_KEY" > gpg.key + # Create tmp dir for GoReleaser + - name: "create tmp dir" + run: | + mkdir tmp + - name: GoReleaser uses: goreleaser/goreleaser-action@v5 with: @@ -99,6 +104,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} NFPM_DEFAULT_RPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_FILE: "gpg.key" + TMPDIR: "tmp" - name: "remove gpg key" run: |