This commit is contained in:
parent
906d02b0c6
commit
cdbe68bddc
@ -47,6 +47,9 @@ function mirror() {
|
|||||||
docker image rm "${REGISTRY_TO_MIRROR}/${image}" &> /dev/null
|
docker image rm "${REGISTRY_TO_MIRROR}/${image}" &> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
env
|
||||||
|
echo "Secret test: ${drone_secret} or ${REGISTRY_PASSWORD}
|
||||||
|
|
||||||
# Login to registry.
|
# Login to registry.
|
||||||
docker login -u "${REGISTRY_USER}" -p "${REGISTRY_PASSWORD}" "${DESTINATION_REGISTRY}"
|
docker login -u "${REGISTRY_USER}" -p "${REGISTRY_PASSWORD}" "${DESTINATION_REGISTRY}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user