Skip to content

Commit fda6752

Browse files
committed
remove latest condition check
1 parent 4b845a5 commit fda6752

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/docker-in-docker/install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,8 @@ if [ "${DOCKER_DASH_COMPOSE_VERSION}" != "none" ]; then
374374
find_version_from_git_tags compose_version "$docker_compose_url" "tags/v"
375375
echo "(*) Installing docker-compose ${compose_version}..."
376376
curl -fsSL "https://github.com/docker/compose/releases/download/v${compose_version}/docker-compose-linux-${target_compose_arch}" -o ${docker_compose_path} || {
377-
if [[ $DOCKER_DASH_COMPOSE_VERSION == "latest" ]]; then
378377
echo -e "\n(!) Failed to fetch the latest artifacts for docker-compose v${compose_version}..."
379378
fallback_compose "$docker_compose_url"
380-
else
381-
echo -e "Error: Failed to install docker-compose v${compose_version}"
382-
fi
383379
}
384380

385381
chmod +x ${docker_compose_path}

0 commit comments

Comments
 (0)