Skip to content

Commit 0175299

Browse files
committed
chore(ci): pin Kyverno CLI version in GitHub Action to v1.12.0
Pinned the Kyverno CLI to a specific version to ensure consistent validation behavior across runs.
1 parent d58c4e4 commit 0175299

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/validate-claims.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20-
- name: Set up Kyverno CLI
20+
- name: Install Kyverno CLI
2121
run: |
22-
curl -sL https://github.com/kyverno/kyverno/releases/latest/download/kyverno-cli_linux_x86_64.tar.gz | tar xz
22+
curl -LO https://github.com/kyverno/kyverno/releases/download/v1.12.0/kyverno-cli_v1.12.0_linux_x86_64.tar.gz
23+
tar -xvf kyverno-cli_v1.12.0_linux_x86_64.tar.gz
2324
sudo mv kyverno /usr/local/bin/
25+
kyverno version
2426
2527
- name: Run Kyverno policy checks on claims
2628
run: |

0 commit comments

Comments
 (0)