-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cosign signing and verification to OCI docs #1167
Conversation
d18ca66
to
9ca43a2
Compare
83d7138
to
225345c
Compare
Push and sign the artifact using the Cosign private key: | ||
|
||
```shell | ||
flux push artifact oci://ghcr.io/stefanprodan/manifests/podinfo:$(git tag --points-at HEAD) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe replace ghcr.io/...
here with <image reference>
? I see it is also used in the examples above, but would think it is easier for people to follow when they have guidance on what needs to be replaced. Instead of accidentally copying the command in full, then discovering they can not push to this image repository, to then figure out what needs replacing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The guide starts by telling people to clone podinfo, so maybe only the GH username could be a placeholder? I'm for doing this in a separate PR as it touches the whole guide.
Signed-off-by: Stefan Prodan <[email protected]>
225345c
to
fb39ad5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Add Cosign signing and Flux verification to the OCI artifacts guide.
Part of: fluxcd/flux2#3155