File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ jobs:
18
18
uses : actions/checkout@v4
19
19
20
20
- name : Install Kyverno CLI
21
- run : |
22
- curl -LO https://github.com/kyverno/kyverno/releases/download/v1.12.0/kyverno-cli_v1.12.0_linux_x86_64.tar.gz
23
- mkdir -p /tmp/kyverno-cli
24
- tar -xvf kyverno-cli_v1.12.0_linux_x86_64.tar.gz -C /tmp/kyverno-cli
25
- sudo mv /tmp/kyverno-cli/kyverno /usr/local/bin/
26
- kyverno version
21
+ uses : kyverno/action-install-cli@v0.2.0
22
+ with :
23
+ release : " v1.13.4 "
24
+
25
+ - name : Check install
26
+ run : kyverno version
27
27
28
28
- name : Run Kyverno policy checks on claims
29
29
run : |
32
32
echo '```' >> $GITHUB_STEP_SUMMARY
33
33
34
34
set +e
35
- kyverno apply ./kyverno --resource ./crossplane/claims -t --remove-color 2>&1 | tee result.txt
35
+ kyverno apply ./kyverno --resource ./crossplane/claims 2>&1 | tee result.txt
36
36
KYVERNO_EXIT_CODE=${PIPESTATUS[0]}
37
37
set -e
38
38
You can’t perform that action at this time.
0 commit comments