Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sqr authored Feb 25, 2024
1 parent 7a0a66b commit 6636099
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,16 @@ jobs:
with:
version: 'latest'

- name: Install Kyverno and apply policy
- name: Install Kyverno chart
run: |
helm repo add kyverno https://kyverno.github.io/kyverno/
helm repo update
helm install kyverno kyverno/kyverno -n kyverno --create-namespace
kubectl apply -f ./k3s/policy-check-image-keyless.yaml
- name: Apply image attestation policy
run: |
kubectl apply -f ./k3s/policy-check-image-keyless.yaml
- name: Deploy pod to k3s
run: |
set -x
Expand Down

0 comments on commit 6636099

Please sign in to comment.