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:
parent
255496af87
commit
481b2464a4
@ -106,7 +106,7 @@ function get_arm64_image() {
|
|||||||
function login_to_registry() {
|
function login_to_registry() {
|
||||||
# Login to registry.
|
# Login to registry.
|
||||||
echo "Logging into '${REGISTRY}' as '${USER}'..."
|
echo "Logging into '${REGISTRY}' as '${USER}'..."
|
||||||
docker login -u "${USER}" -p "${PASSWORD}" "${REGISTRY}"
|
docker login -u "${REGISTRY_USERNAME}" -p "${REGISTRY_PASSWORD}" "${REGISTRY}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function mirror() {
|
function mirror() {
|
||||||
|
Loading…
Reference in New Issue
Block a user