Skip to content

Commit

Permalink
ci: use tmp dir inside Trivy repo dir for GoReleaser (aquasecurity#6533)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Apr 22, 2024
1 parent e32215c commit 30cc88f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 30cc88f

Please sign in to comment.