From f2de1a32191ccbf327401a3d752bb21986dc31fe Mon Sep 17 00:00:00 2001 From: Mohit Kumar <162154589+mohitkumar1313@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:04:02 -0400 Subject: [PATCH] Update CI-CD file for openshift --- .github/workflows/CI-CD file for openshift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-CD file for openshift b/.github/workflows/CI-CD file for openshift index cb8853287..395239550 100644 --- a/.github/workflows/CI-CD file for openshift +++ b/.github/workflows/CI-CD file for openshift @@ -6,7 +6,7 @@ on: - demo env: - ENV: "prod" + ENV: "demo" APP_NAME: petclinic-app APP_IMAGE_NAME: petclinic-app APP_IMAGE_TAG: latest @@ -39,7 +39,7 @@ jobs: - name: Determine image tags (If not yet present) if: env.APP_IMAGE_TAG == '' run: | - echo "APP_IMAGE_TAG=prod" >> $GITHUB_ENV + echo "APP_IMAGE_TAG=demo" >> $GITHUB_ENV - name: Build container image run: docker build -t ${{ env.CONTAINER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ env.APP_IMAGE_NAME }}:$(echo $GITHUB_SHA | head -c7) .