Created
January 17, 2023 00:04
-
-
Save ogazitt/315728a13a9b964f81e6cbd18b39faf9 to your computer and use it in GitHub Desktop.
OPA config for running an OCI image in GHCR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
ghcr-registry: | |
url: https://ghcr.io | |
type: oci | |
credentials: | |
bearer: | |
scheme: "Bearer" | |
token: "<PAT>" | |
bundles: | |
authz: | |
service: ghcr-registry | |
resource: ghcr.io/<org>/policy-template:1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment