[ubuntu] fix the condition in docker-moby.sh (#7595)

This commit is contained in:
Alexey-Ayupov
2023-05-15 19:33:52 +02:00
committed by GitHub
parent 69acda60ec
commit cc2b556e65

View File

@@ -29,7 +29,7 @@ systemctl is-enabled --quiet docker.service || systemctl enable docker.service
sleep 10
docker info
if [ "${DOCKERHUB_PULL_IMAGES:-yes}" -eq "yes" ]; then
if [ "${DOCKERHUB_PULL_IMAGES:-yes}" == "yes" ]; then
# If credentials are provided, attempt to log into Docker Hub
# with a paid account to avoid Docker Hub's rate limit.
if [ "${DOCKERHUB_LOGIN}" ] && [ "${DOCKERHUB_PASSWORD}" ]; then