From cc2b556e6568ba325c8548f8d9b0a582d923dc3c Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Mon, 15 May 2023 19:33:52 +0200 Subject: [PATCH] [ubuntu] fix the condition in docker-moby.sh (#7595) --- images/linux/scripts/installers/docker-moby.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/docker-moby.sh b/images/linux/scripts/installers/docker-moby.sh index c562ea99..3db9ae3d 100644 --- a/images/linux/scripts/installers/docker-moby.sh +++ b/images/linux/scripts/installers/docker-moby.sh @@ -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