chore: ignore gpg key (#3943)

This commit is contained in:
Teppei Fukuda
2023-04-01 06:39:31 +03:00
committed by GitHub
parent 4072115e5a
commit 5a10631023
2 changed files with 7 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ jobs:
env:
GPG_KEY: ${{ secrets.GPG_KEY }}
run: |
echo "$GPG_KEY" > gpg.txt
echo "$GPG_KEY" > gpg.key
- name: GoReleaser
uses: goreleaser/goreleaser-action@v4
@@ -89,11 +89,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
NFPM_DEFAULT_RPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_FILE: "gpg.txt"
GPG_FILE: "gpg.key"
- name: "remove gpg key"
run: |
rm gpg.txt
rm gpg.key
## push images to registries
## only for canary build

5
.gitignore vendored
View File

@@ -34,4 +34,7 @@ integration/testdata/fixtures/vm-images
dist
# WebAssembly
*.wasm
*.wasm
# Signing
gpg.key