From c63a36bfb4f7d2f69b9970699c019cfc1cd93c7b Mon Sep 17 00:00:00 2001 From: Georg Schreglmann Date: Thu, 23 Nov 2023 11:09:31 +0100 Subject: [PATCH] Use appVersion from chart.yaml for tagging the built image --- .github/workflows/build-and-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 9927280..d447a5c 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest env: IMAGE_NAME: "vividplanet/swr-cache-proxy" - TAGS: "v1" + TAGS: $(yq e '.appVersion' Chart.yaml) steps: - - run: echo "${{ github.actor }}" + - run: echo "${{ env.TAGS }}" - uses: actions/checkout@v3 with: