Skip to content

Commit

Permalink
Update ci-latest-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimalPimmy authored Feb 15, 2024
1 parent 64d436a commit be94629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
kubectl wait --for=condition=ready --timeout=5m -n kubearmor pod -l kubearmor-app=kubearmor-operator
kubectl get pods -A
if [[ ${{ steps.vars.outputs.tag }} == v* ]]; then
sed -i '/image: kubearmor\/kubearmor-controller:latest/!s/latest/${{ steps.vars.outputs.tag }}/g' pkg/KubeArmorOperator/config/samples/kubearmor-test.yaml
sed -i '/image: kubearmor\/kubearmor-controller:latest/!{/image: kubearmor\/kubearmor-relay-server:latest/!s/latest/version/g}' pkg/KubeArmorOperator/config/samples/kubearmor-test.yaml
fi
cat pkg/KubeArmorOperator/config/samples/kubearmor-test.yaml
kubectl apply -f pkg/KubeArmorOperator/config/samples/kubearmor-test.yaml
Expand Down

0 comments on commit be94629

Please sign in to comment.