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 0d4b349 commit 3f0add5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy-to.openshift-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,24 @@ jobs:
run: >
echo 'test1'
IMAGE_NAME='${{ env.APP_NAME_FRONTEND }}'
echo 'test2'
TAG='${{ env.TAG }}'
echo 'test3'
IMAGE_HASH=$(oc get istag "${IMAGE_NAME}:${TAG}" -o template --template = '{{.image.dockerImageREference}}' | awk -F'@' '{print $2}')
echo 'test4'
echo "IMAGE_HASH=${IMAGE_HASH}" >> $GITHUB_ENV
echo 'test5'
echo "Image hash retrieved:${IMAGE_HASH}"
- name: TAG Image
id: tag_image
run: >
IMAGE_NAME='${{ env.APP_NAME_FRONTEND }}'
TAG='${{ env.TAG }}'
IMAGE_HASH='${{ env.IMAGE_HASH }}'
Expand Down

0 comments on commit 3f0add5

Please sign in to comment.