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 6f12ad6 commit eb8d1d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to.openshift-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ jobs:
TAG='${{ env.TAG }}'
echo 'test3'
oc get istag ${IMAGE_NAME}:${TAG} -o template --template = {{.image.dockerImageREference}}
echo 'test33'

IMAGE_HASH=$(oc get istag ${IMAGE_NAME}:${TAG} -o template --template = {{.image.dockerImageREference}} | awk -F'@' '{print $2}')
echo 'test4'
echo "${IMAGE_HASH}"
echo "IMAGE_HASH=${IMAGE_HASH}" >> $GITHUB_ENV
echo 'test5'
echo "Image hash retrieved:${IMAGE_HASH}"
Expand Down

0 comments on commit eb8d1d0

Please sign in to comment.