Skip to content
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

chore(ci): Generate cosign bundle for binaries #1993

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ signs:
- --yes
- --rekor-url
- https://rekor.sigstore.dev/
- "--output-signature=${signature}"
- "--bundle=${artifact}.bundle"
- "${artifact}"
artifacts: all

Expand Down
14 changes: 14 additions & 0 deletions docs/modules/ROOT/pages/installation/container.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ include::partial$attributes.adoc[]
docker run --rm --name cerbos -p 3592:3592 {app-docker-img}
----

[NOTE]
====

Cerbos images can be verified using link:https://www.sigstore.dev[sigstore] tools as follows:

[source,sh,subs="attributes"]
----
cosign verify --certificate-oidc-issuer="https://token.actions.githubusercontent.com" --certificate-identity-regexp="github.com/cerbos/cerbos" {app-docker-img}
----

====

By default, the container is configured to listen on ports 3592 (HTTP) and 3593 (gRPC) and watch for policy files on the volume mounted at `/policies`. You can override these by creating a new xref:configuration:index.adoc[configuration file].

.Create a directory to hold the config file and policies.
Expand Down Expand Up @@ -37,3 +49,5 @@ docker run --rm --name cerbos -d -v $(pwd)/cerbos-quickstart:/quickstart -p 3592
----

NOTE: Cerbos container images are mirrored to Docker Hub and the latest version is available at {app-alternative-docker-img} as well.