Skip to content

Modern Docker Management, Designed for Everyone

chore: update goreleaser signing

Kyle Mendell917426ff6f18
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index a12ec2a1f..ccb8b9b4c 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -123,28 +123,6 @@ archives:
- binary
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}"
-upx:
- - enabled: true
- ids:
- - arcane
- - arcane-agent
- - arcane-cli
- goos:
- - linux
- - darwin
- goarch:
- - amd64
- - arm64
- - arm
- - "386"
- goarm:
- - "7"
- goamd64:
- - v1
- compress: best
- lzma: true
- brute: true
-
notarize:
macos:
- enabled: '{{ isEnvSet "MACOS_SIGN_P12" }}'
@@ -167,7 +145,7 @@ binary_signs:
- arcane
- arcane-agent
- arcane-cli
- signature: '${artifact}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}.sigstore.json'
+ signature: "${artifact}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}.sigstore.json"
stdin: "{{ .Env.COSIGN_PASSWORD }}"
args:
- sign-blob
@@ -178,6 +156,20 @@ binary_signs:
output: true
signs:
+ - id: cosign-archives
+ cmd: cosign
+ artifacts: archive
+ ids:
+ - arcane-cli-archive
+ signature: "${artifact}.sigstore.json"
+ stdin: "{{ .Env.COSIGN_PASSWORD }}"
+ args:
+ - sign-blob
+ - --key=env://COSIGN_PRIVATE_KEY
+ - --bundle=${signature}
+ - "${artifact}"
+ - --yes
+ output: true
- id: cosign-checksums
cmd: cosign
artifacts: checksum