Fix login function to use proper env vars.
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
@@ -106,7 +106,7 @@ function get_arm64_image() {
|
||||
function login_to_registry() {
|
||||
# Login to registry.
|
||||
echo "Logging into '${REGISTRY}' as '${USER}'..."
|
||||
docker login -u "${USER}" -p "${PASSWORD}" "${REGISTRY}"
|
||||
docker login -u "${REGISTRY_USERNAME}" -p "${REGISTRY_PASSWORD}" "${REGISTRY}"
|
||||
}
|
||||
|
||||
function mirror() {
|
||||
|
Reference in New Issue
Block a user