Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Include option to avoid login (#159)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Sep 28, 2023
1 parent d7fa7b5 commit abe4d69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/index_tools/tang_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ version=$2
digest=$(echo "${CO_image_with_digest}" | awk -F: '{print $2}')
sub_digest="${digest:0:12}"

echo "Login into quay.io ..."
"${CONTAINER_MGR}" login quay.io -u sarroutb
test -z "${DO_NOT_LOGIN}" && {
echo "Login into quay.io ..."
"${CONTAINER_MGR}" login quay.io -u sarroutb
}
echo "sub_digest:${sub_digest}"

#1. Mirror bundle container image
Expand Down

0 comments on commit abe4d69

Please sign in to comment.