Skip to content

Commit

Permalink
Merge pull request #454 from rh-ecosystem-edge/quayusespullsecret
Browse files Browse the repository at this point in the history
  • Loading branch information
iranzo authored Jul 5, 2022
2 parents 5b4c0ba + c3caa10 commit ff10b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function registry_login() {
export STORAGE_DRIVER=vfs
sed -i '/^mountopt =.*/d' /etc/containers/storage.conf

if [[ ${CUSTOM_REGISTRY} == "true" ]]; then
if [[ ${CUSTOM_REGISTRY} == "true" ]] || [[ ${1} == "quay.io" ]]; then
${PODMAN_LOGIN_CMD} ${1} --authfile=${PULL_SECRET}
else
${PODMAN_LOGIN_CMD} ${1} -u ${REG_US} -p ${REG_PASS} --authfile=${PULL_SECRET}
Expand Down

0 comments on commit ff10b8f

Please sign in to comment.