From 5fa1c8e6fad08f3d5cea5a7c5ea9a216492d5941 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Wed, 28 Feb 2024 21:32:27 -0800 Subject: [PATCH 1/2] Fixing tag of dashboard Signed-off-by: willdavsmith --- .github/workflows/build.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8e344ed..3f8b0e4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,8 +61,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Parse release version and set environment variables - run: python ./.github/scripts/get_release_version.py - name: Enable corepack run: corepack enable - name: Install Node.js 21 # Must be after corepack is enabled. @@ -97,5 +95,5 @@ jobs: - name: Push Image to ghcr.io (push to tag) if: ${{ env.CI_PUBLISH_RELEASE == 'true' }} run: | - docker tag ghcr.io/radius-project/dashboard:latest ghcr.io/radius-project/dashboard:${{ env.REL_TAG }} - docker push ghcr.io/radius-project/dashboard:${{ env.REL_TAG }} + docker tag ghcr.io/radius-project/dashboard:latest ghcr.io/radius-project/dashboard:${{ env.REL_CHANNEL }} + docker push ghcr.io/radius-project/dashboard:${{ env.REL_CHANNEL }} From 085c376bd860cc8d158b07a439dcb4dcc4fc2e70 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Wed, 28 Feb 2024 21:33:30 -0800 Subject: [PATCH 2/2] Fixing tag of dashboard Signed-off-by: willdavsmith --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3f8b0e4..22d60f7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,6 +61,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Parse release version and set environment variables + run: python ./.github/scripts/get_release_version.py - name: Enable corepack run: corepack enable - name: Install Node.js 21 # Must be after corepack is enabled.