mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-29 10:11:09 +00:00
chore(ci): enable attestation (#1841)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
faeada970c
commit
33e1eb4f4d
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
@ -13,6 +13,11 @@ on:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
attestations: write
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-24.04
|
||||
@ -41,8 +46,15 @@ jobs:
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
|
||||
with:
|
||||
version: latest
|
||||
version: '~> v2'
|
||||
args: release --clean
|
||||
env:
|
||||
GPG_FINGERPRINT: "${{ steps.import_gpg.outputs.fingerprint }}"
|
||||
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
|
||||
|
||||
- name: Attest
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-path: ./dist/*.zip
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
|
||||
|
@ -21,7 +21,7 @@ builds:
|
||||
goarch: '386'
|
||||
binary: '{{ .ProjectName }}_v{{ .Version }}'
|
||||
archives:
|
||||
- format: zip
|
||||
- formats: [ 'zip' ]
|
||||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
|
||||
checksum:
|
||||
extra_files:
|
||||
|
Loading…
Reference in New Issue
Block a user