* Make TL logging/verification optional * Return errors from go-lang fns * Update pkg/policy/rego.go Co-authored-by: Jonny Stoten <jonny@jonnystoten.com> * Update pkg/attestation/sign.go Co-authored-by: Joel Kamp <joel.kamp@docker.com> * Move public key marshelling until later * Simplify logSignature and pass down opts --------- Co-authored-by: Jonny Stoten <jonny@jonnystoten.com> Co-authored-by: Joel Kamp <joel.kamp@docker.com>
12 lines
222 B
YAML
12 lines
222 B
YAML
# map repos to policies
|
|
version: v1
|
|
kind: policy-mapping
|
|
policies:
|
|
- origin:
|
|
domain: docker.io
|
|
prefix: library/
|
|
id: test-images
|
|
description: Local test images
|
|
files:
|
|
- path: doi/policy.rego
|