From 29aa546b8ee11222fc03695f4aa68f830c194fd6 Mon Sep 17 00:00:00 2001 From: "avi@robusta.dev" Date: Thu, 10 Oct 2024 13:19:37 +0300 Subject: [PATCH] updated test image tag --- .github/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 372ff81a..676ab0dc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,6 +6,8 @@ on: pull_request: types: [opened, synchronize, reopened] +env: + RELEASE_VER : "git-test-image" #${{ github.event.release.tag_name }} jobs: setup-build-publish-deploy: if: github.event_name == 'release' || (github.event_name == 'pull_request') @@ -40,7 +42,7 @@ jobs: context: . platforms: linux/arm64,linux/amd64 push: true - tags: us-central1-docker.pkg.dev/genuine-flight-317411/devel/kubewatch:${{ github.ref_name }} + tags: us-central1-docker.pkg.dev/genuine-flight-317411/devel/kubewatch:${{ env.RELEASE_VER }} - name: Login to Docker Hub uses: docker/login-action@v1 @@ -55,7 +57,7 @@ jobs: context: . platforms: linux/arm64,linux/amd64 push: true - tags: robustadev/kubewatch:${{ github.ref_name }} + tags: robustadev/kubewatch:${{ env.RELEASE_VER }} # Upload helm chart only on release, not on pull request - name: Upload helm chart