mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-29 14:56:10 +00:00
Changes to workflows
This commit is contained in:
parent
b0bc399fca
commit
55187e173f
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -20,17 +20,17 @@ jobs:
|
|||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
-
|
-
|
||||||
name: Import the GPG signing key
|
name: Import the GPG signing key
|
||||||
env:
|
id: import_gpg
|
||||||
GPG_KEY: ${{ secrets.GPG_KEY }}
|
uses: danitso/ghaction-import-gpg@v3
|
||||||
run: |
|
with:
|
||||||
echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import
|
gpg-private-key: ${{ secrets.GPG_KEY }
|
||||||
gpg --keyid-format LONG --list-secret-keys
|
passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
-
|
-
|
||||||
name: Create release
|
name: Create release
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: danitso/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
|
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
||||||
|
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@ -22,20 +22,17 @@ jobs:
|
|||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
-
|
-
|
||||||
name: Import the GPG signing key
|
name: Import the GPG signing key
|
||||||
env:
|
id: import_gpg
|
||||||
GPG_KEY: ${{ secrets.GPG_KEY }}
|
uses: danitso/ghaction-import-gpg@v3
|
||||||
run: |
|
with:
|
||||||
GPG_TTY="$(tty)"
|
gpg-private-key: ${{ secrets.GPG_KEY }
|
||||||
export GPG_TTY
|
passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
|
|
||||||
echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import
|
|
||||||
gpg --keyid-format LONG --list-secret-keys
|
|
||||||
-
|
-
|
||||||
name: Create release
|
name: Create release
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: danitso/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist --snapshot
|
args: release --rm-dist --snapshot
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
|
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
||||||
|
Loading…
Reference in New Issue
Block a user