From 149bc671cf25769dade4d43333e887003db598a7 Mon Sep 17 00:00:00 2001 From: Joachim Prinzbach Date: Sat, 4 Nov 2023 16:15:49 +0100 Subject: [PATCH] try to fix yq set value --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c4a86ea..c11984b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -103,7 +103,7 @@ jobs: git config user.email "incubator@users.noreply.github.com" - name: Set image tag in Chart run: | - yq e ".app.image.tag = \"${{github.ref_name}}\"" charts/gitops-nginx-demo/values.yaml + yq e -i ".app.image.tag = \"${{github.ref_name}}\"" charts/gitops-nginx-demo/values.yaml - name: Create commit id: create-commit uses: stefanzweifel/git-auto-commit-action@v5