This commit is contained in:
parent
b48a949dc3
commit
a26adfc78b
@ -52,6 +52,7 @@ function mirror() {
|
|||||||
# Login to registry.
|
# Login to registry.
|
||||||
echo "Logging into '${DESTINATION_REGISTRY}' as '${USER}'..."
|
echo "Logging into '${DESTINATION_REGISTRY}' as '${USER}'..."
|
||||||
docker login -u "${USER}" -p "${PASSWORD}" "${DESTINATION_REGISTRY}"
|
docker login -u "${USER}" -p "${PASSWORD}" "${DESTINATION_REGISTRY}"
|
||||||
|
cat ~/.docker/config.json
|
||||||
|
|
||||||
# Mirror images.
|
# Mirror images.
|
||||||
for image in "${WHAT_TO_MIRROR[@]}"; do
|
for image in "${WHAT_TO_MIRROR[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user