Skip to content

Instantly share code, notes, and snippets.

Last active January 17, 2023 00:12
What would you like to do?
create a policy image using the policy cli
brew install opcr-io/tap/policy
echo $PAT | policy login -s -u <GitHub-account> --password-stdin
mkdir ./demo && cd ./demo
policy templates apply policy-template
tree .
policy build -t<org>/policy-template:1.0.0 ./src
policy images
policy push<org>/policy-template:1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment