Skip to content

Commit

Permalink
ci: use tmp dir inside Trivy repo dir for GoReleaser (#6533)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored and knqyf263 committed Apr 22, 2024
1 parent 058f483 commit 9aa9e17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-release.yaml
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 9aa9e17

Please sign in to comment.