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

fix: Use the right command to pull policies from oci registry #920

Merged
merged 1 commit into from
Feb 21, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ conftest pull git::https://<PersonalAccessToken>@github.com/<Organization>/<Repo
### OCI Registry

```console
conftest pull opa.azurecr.io/test
conftest pull oci://opa.azurecr.io/test
```

See the [go-getter](https://github.com/hashicorp/go-getter) repository for more examples.
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ By default, it will use the regular stdout output. For a full list of available
The test command supports the '--update' flag to fetch the latest version of the policy at the given url.
It expects one or more urls to fetch the latest policies from, e.g.:

$ conftest test --update opa.azurecr.io/test
$ conftest test --update oci://opa.azurecr.io/test

See the pull command for more details on supported protocols for fetching policies.

Expand Down
Loading