Fix login function to use proper env vars.
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Stanislav Nikitin 2022-06-28 20:21:13 +05:00
parent 255496af87
commit 481b2464a4
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -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() {