diff --git a/scripts/travis-setup.sh b/scripts/travis-setup.sh index f335b4aafa..48b751d678 100755 --- a/scripts/travis-setup.sh +++ b/scripts/travis-setup.sh @@ -28,8 +28,7 @@ mkdir -vp ~/.docker/cli-plugins/ curl --silent -L "https://github.com/docker/buildx/releases/download/v0.3.0/buildx-v0.3.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx chmod a+x ~/.docker/cli-plugins/docker-buildx docker buildx version -# This has to be set otherwise the default driver will not work -docker buildx create --use --name build --node build --driver-opt network=host +docker buildx create --use --name build --platform=linux/amd64 docker run -d -p 5000:5000 --restart always --name registry registry:2.6.2 docker ps | grep registry