Skip to content

Commit 30cc88f

Browse files
authored
ci: use tmp dir inside Trivy repo dir for GoReleaser (aquasecurity#6533)
1 parent e32215c commit 30cc88f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/reusable-release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ jobs:
9090
run: |
9191
echo "$GPG_KEY" > gpg.key
9292
93+
# Create tmp dir for GoReleaser
94+
- name: "create tmp dir"
95+
run: |
96+
mkdir tmp
97+
9398
- name: GoReleaser
9499
uses: goreleaser/goreleaser-action@v5
95100
with:
@@ -99,6 +104,7 @@ jobs:
99104
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
100105
NFPM_DEFAULT_RPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
101106
GPG_FILE: "gpg.key"
107+
TMPDIR: "tmp"
102108

103109
- name: "remove gpg key"
104110
run: |

0 commit comments

Comments
 (0)