Skip to content

Commit

Permalink
Push latest tag to Redhat on promote
Browse files Browse the repository at this point in the history
  • Loading branch information
gl-johnson committed Jun 8, 2023
1 parent 88d9a42 commit 21764b4
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 21764b4

Please sign in to comment.