From c289817d93b9d2fa5721ec9595dca43d758913a0 Mon Sep 17 00:00:00 2001 From: Khaled <45347802+JavaDeveloper456788@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:17:47 -0700 Subject: [PATCH] Update deploy-to.openshift-dev.yml --- .github/workflows/deploy-to.openshift-dev.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to.openshift-dev.yml b/.github/workflows/deploy-to.openshift-dev.yml index 761c84286..61df3dd7b 100644 --- a/.github/workflows/deploy-to.openshift-dev.yml +++ b/.github/workflows/deploy-to.openshift-dev.yml @@ -98,9 +98,11 @@ jobs: - name: TAG Image id: tag_image run: > - IMAGE_NAME ='${{ env.APP_NAME_FRONTEND }}' TAG= '${{ env.TAG }}' + IMAGE_NAME ='${{ env.APP_NAME_FRONTEND }}' + TAG= '${{ env.TAG }}' IMAGE_HASH='${{ env.IMAGE_HASH }}' - oc tag "${IMAGE_NAME}@${IMAGE_HASH}" "${IMAGE_NAME}:${TAG}" || echo "failed to tag the image" TAGGED_IMAGE= "${IMAGE_NAME}:${TAG}" + oc tag "${IMAGE_NAME}@${IMAGE_HASH}" "${IMAGE_NAME}:${TAG}" || echo "failed to tag the image" + TAGGED_IMAGE= "${IMAGE_NAME}:${TAG}" echo "TAGGED_IMAGE=${TAGGED_IMAGE}" >> $GITHUB_ENV - name: Login to Docker Hub uses: docker/login-action@v1