This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
goreleaser: Sign container images with cosign. (#35)
This commit modifies the goreleaser configuration to use Chainguard's cosign to sign container images. The diff is based on the goreleaser configuration found in metal-toolbox/flasher. [1] cosign is an open-source tool that signs code and container images, allowing other users to cryptographically verify the origin of container images. [2] cosign has different operating modes. This commit utilizes Chainguard's signing infrastructure via "keyless signing". [3] Keyless signing makes image signing easy for open-source projects because Chainguard operates the signing infrastructure on behalf of others. The goreleaser configuration makes use of the "signs" and "docker_signs" plugins. [4] [5] The shell-like "$" references are magic variables that are documented in the referenced documentation. References 1. https://github.com/metal-toolbox/flasher/blob/4e663e45288/.goreleaser.yaml#L59-L86 2. https://github.com/equinixmetal-buildkite/cosign-buildkite-plugin 3. https://edu.chainguard.dev/open-source/sigstore/cosign/an-introduction-to-cosign/#keyless-signing 4. https://goreleaser.com/customization/sign/ 5. https://goreleaser.com/customization/docker_sign/
- Loading branch information