Skip to content

Commit 4ce3d4d

Browse files
author
Niklas Burchhardt
committed
add signs, sboms, docker_signs to goreleaser
1 parent f9dcd36 commit 4ce3d4d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.goreleaser.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,27 @@ changelog:
9898
exclude:
9999
- '^docs:'
100100
- '^test:'
101+
102+
sboms:
103+
- artifacts: archive
104+
105+
# sign checksums/archives using Cosign
106+
signs:
107+
- artifacts: checksum
108+
cmd: cosign
109+
args:
110+
- "sign-blob"
111+
- "--key=env://COSIGN_PRIVATE_KEY"
112+
- "--output-signature=${signature}"
113+
- "--yes"
114+
- "${artifact}"
115+
116+
# sign published Docker images using Cosign
117+
docker_signs:
118+
- artifacts: manifests
119+
cmd: cosign
120+
args:
121+
- "sign"
122+
- "--key=env://COSIGN_PRIVATE_KEY"
123+
- "--yes"
124+
- "${artifact}"

0 commit comments

Comments
 (0)