rego-policies
rego-policies copied to clipboard
Publish policies to ArtifactHub
Once we finalize some of the initial version of our policies, we should look to set up automation to start publishing them to ArtifactHub
Looks like this part of the control plane isn't quite ready yet. Revisit this in the future.
Also, to use conftest push
, it needs to conform to OCI spec which looking at the below, is hardly any:
- https://conformance.opencontainers.org/distribution-spec/
https://github.com/artifacthub/hub/issues/554
Testing on their staging env: https://staging.artifacthub.io/packages/opa/redhat-cop-rego-policies/redhat-cop-rego-policies
single repo vs multi repo in artifacthub? Anyone got any thoughts?
I'd say single repo; the folder structure is good enough to follow 👀
https://github.com/redhat-cop/rego-policies/blob/main/policy/artifacthub.yaml