Skip to content

Commit 9fe2128

Browse files
committed
Provide root for OCI policy bundle to allow use with additional bundles
1 parent 8f11ac5 commit 9fe2128

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/policy-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
version: latest
3333

3434
- name: Build OPA Policy # If this is a tag, use it as a revision string
35-
run: opa build ./org-policy -r ${{ github.ref_name }}
35+
run: opa build -b org-policy -r ${{ github.ref_name }} --ignore *_test.rego
3636

3737
- name: Test OPA Bundle
3838
run: opa test -b bundle.tar.gz

org-policy/.manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"roots": ["diamondlightsource"]
3+
}

0 commit comments

Comments
 (0)