Skip to content

Commit

Permalink
Merge pull request #2826 from cyberark/fix-redhat-tagging
Browse files Browse the repository at this point in the history
Push latest tag to Redhat on promote
  • Loading branch information
gl-johnson authored Jun 12, 2023
2 parents 88d9a42 + 21764b4 commit a4d6bfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions publish-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ if [[ "${REDHAT}" = true ]]; then

# scan image with preflight tool
scan_redhat_image "${REDHAT_REMOTE_IMAGE}:${VERSION}" "${REDHAT_CERT_PID}"

# push latest tag to RH
tag_and_push "latest" "${RH_LOCAL_IMAGE}" "${REDHAT_REMOTE_IMAGE}"
else
echo 'Failed to log in to quay.io'
exit 1
Expand Down

0 comments on commit a4d6bfd

Please sign in to comment.