Skip to content

Commit

Permalink
Revert "Remove dind in ci tests (#8529)" (#8547)
Browse files Browse the repository at this point in the history
This reverts commit 4cc0099.
  • Loading branch information
rikatz authored May 4, 2022
1 parent 5a7d053 commit a5a59f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/run-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ else
PLATFORM_FLAG=
fi

docker run \
if [[ "$DOCKER_IN_DOCKER_ENABLED" == "true" ]]; then
/bin/bash -c "${FLAGS}"
else
docker run \
${PLATFORM_FLAG} ${PLATFORM} \
--tty \
--rm \
Expand All @@ -78,3 +81,4 @@ docker run \
-w "/go/src/${PKG}" \
-u $(id -u ${USER}):$(id -g ${USER}) \
${E2E_IMAGE} /bin/bash -c "${FLAGS}"
fi

0 comments on commit a5a59f1

Please sign in to comment.