Skip to content

Commit 48ffd63

Browse files
committed
Enable attestation perms on release
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
1 parent 0e2f7e2 commit 48ffd63

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
tags:
99
- 'v*'
1010
permissions:
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
release:
@@ -17,6 +17,7 @@ jobs:
1717
permissions:
1818
contents: write
1919
id-token: write
20+
attestations: write
2021

2122
steps:
2223
- name: Setup bnd

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ builds:
3737
- -trimpath
3838

3939
archives:
40-
- format: binary
40+
- formats: binary
4141
name_template: snappy-{{ .Os }}-{{ .Arch }}
4242
allow_different_binary_count: true
4343

0 commit comments

Comments
 (0)