From 960112b6b9cddf49e717f8ffdeb62fa3357f93bb Mon Sep 17 00:00:00 2001 From: kennyd3d Date: Fri, 23 Aug 2024 15:29:30 -0700 Subject: [PATCH] fix variable name --- .github/workflows/dev.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 7f3bac3..572ee2f 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -123,12 +123,13 @@ jobs: - name: Check if release exists in remote repo run: | - echo "IMAGE_STABLE=kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.inputs.RELEASE }}" >> $GITHUB_ENV - if ! docker manifest inspect ${{ env.IMAGE_STABLE }} > /dev/null 2>&1; then - echo '# ❌ Failed Stable Deployment: ${{ env.IMAGE_STABLE }} not found in artifactory' >> $GITHUB_STEP_SUMMARY + IMAGE_STABLE="kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.inputs.RELEASE }}" + echo "IMAGE_STABLE=$IMAGE_STABLE" >> $GITHUB_ENV + if ! docker manifest inspect $IMAGE_STABLE > /dev/null 2>&1; then + echo "❌ Failed Stable Deployment: $IMAGE_STABLE not found in artifactory" >> $GITHUB_STEP_SUMMARY exit 1 fi - + - name: Deploy release to stable run: | echo "Test to deploy to Stable k8 using image ${{ env.IMAGE_STABLE }}"