Skip to content

Commit

Permalink
ci(release): use tmp dir inside Trivy directory for GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Apr 22, 2024
1 parent d4da83c commit cef4611
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 cef4611

Please sign in to comment.