Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created March 21, 2022 14:47
Show Gist options
  • Save developer-guy/754501f14062c6e6a4a4e247d84d4746 to your computer and use it in GitHub Desktop.
Save developer-guy/754501f14062c6e6a4a4e247d84d4746 to your computer and use it in GitHub Desktop.
GoReleaser setting to sign container images with cosign
# signs our docker image
# https://goreleaser.com/customization/docker_sign
docker_signs:
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
artifacts: images
output: true
args:
- 'sign'
- '${artifact}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment