Skip to content

Commit

Permalink
Update deploy-to.openshift-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaDeveloper456788 authored Sep 26, 2024
1 parent d4d233a commit c289817
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-to.openshift-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c289817

Please sign in to comment.