mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
Fix usage of goreleaser's artifact pipeline
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
2c82c7c0f0
commit
8627ea88ce
@ -6,10 +6,6 @@ release:
|
|||||||
# If set to true, will not auto-publish the release. This is done to allow us to review the changelog before publishing.
|
# If set to true, will not auto-publish the release. This is done to allow us to review the changelog before publishing.
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
# This ensures any macOS signed artifacts get included with the release.
|
|
||||||
extra_files:
|
|
||||||
- glob: "./dist/*.dmg"
|
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- binary: syft
|
- binary: syft
|
||||||
id: syft
|
id: syft
|
||||||
@ -61,15 +57,11 @@ archives:
|
|||||||
- syft-macos
|
- syft-macos
|
||||||
|
|
||||||
signs:
|
signs:
|
||||||
- artifacts: checksum
|
|
||||||
ids:
|
|
||||||
- syft # i.e. Linux only
|
|
||||||
args: ["--output", "${signature}", "--detach-sign", "${artifact}"]
|
|
||||||
- id: syft-macos-signing
|
- id: syft-macos-signing
|
||||||
signature: "./dist/syft_{{ .Version }}_darwin_amd64.dmg"
|
|
||||||
ids:
|
ids:
|
||||||
- syft-macos
|
- syft-macos
|
||||||
cmd: ./.github/scripts/mac-sign-and-notarize.sh
|
cmd: ./.github/scripts/mac-sign-and-notarize.sh
|
||||||
|
signature: "syft_${VERSION}_darwin_amd64.dmg" # This is somewhat unintuitive. This gets the DMG file recognized as an artifact. In fact, both a DMG and a ZIP file are being produced by this signing step.
|
||||||
args:
|
args:
|
||||||
- "{{ .IsSnapshot }}"
|
- "{{ .IsSnapshot }}"
|
||||||
- "gon.hcl"
|
- "gon.hcl"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user