mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 21:53:48 +03:00
ci: fix the name template of singing certificate and sboms (#5046)
This commit is contained in:
parent
e43b6d8178
commit
b4643994d5
1 changed files with 3 additions and 4 deletions
|
@ -68,14 +68,13 @@ builds:
|
||||||
signs:
|
signs:
|
||||||
- cmd: cosign
|
- cmd: cosign
|
||||||
signature: "${artifact}.sig"
|
signature: "${artifact}.sig"
|
||||||
certificate: '{{ trimsuffix .Env.artifact ".tar.gz" }}.pem'
|
certificate: '{{ trimsuffix (trimsuffix .Env.artifact ".zip") ".tar.gz" }}.pem'
|
||||||
args: ["sign-blob", "--output-signature=${signature}", "--output-certificate", "${certificate}", "${artifact}"]
|
args: ["sign-blob", "--output-signature=${signature}", "--output-certificate", "${certificate}", "${artifact}"]
|
||||||
artifacts: all
|
artifacts: all
|
||||||
sboms:
|
sboms:
|
||||||
- artifacts: binary
|
- artifacts: binary
|
||||||
# defaults to
|
documents:
|
||||||
# documents:
|
- '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{if .Arm}}v{{ .Arm }}{{end}}.sbom'
|
||||||
# - "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.sbom"
|
|
||||||
cmd: syft
|
cmd: syft
|
||||||
args: ["$artifact", "--file", "${document}", "--output", "cyclonedx-json"]
|
args: ["$artifact", "--file", "${document}", "--output", "cyclonedx-json"]
|
||||||
archives:
|
archives:
|
||||||
|
|
Loading…
Reference in a new issue