From 30cc88fa87ba69c64f09885c23f36663fa8aa5d1 Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:23:05 +0600 Subject: [PATCH] ci: use tmp dir inside Trivy repo dir for GoReleaser (#6533) --- .github/workflows/reusable-release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: |