Skip to content

Commit 24da820

Browse files
committed
ci: install ORAS before publishing OPA bundle
1 parent 31f165d commit 24da820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/_policy_container.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
--revision ${{ github.ref_name }}
3737
--ignore *_test.rego
3838
39+
- name: Setup ORAS
40+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
41+
uses: oras-project/setup-oras@v1
42+
3943
- name: Publish OPA Bundle
4044
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
4145
run: >

0 commit comments

Comments
 (0)