Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Dec 23, 2020
1 parent 352a73f commit 641d8b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ func buildRequiredImages() error {
}{
{
name: "Building kaniko image",
command: append([]string{"docker", "buildx", "build", "--platform", "linux/amd64", "-t", ExecutorImage, "--push", "-f", "../deploy/Dockerfile", ".."}),
command: append([]string{"docker", "buildx", "build", "--platform", "linux/amd64", "-t", ExecutorImage, "-f", "../deploy/Dockerfile", ".."}),
},
{
name: "Building cache warmer image",
command: append([]string{"docker", "buildx", "build", "--platform", "linux/amd64", "-t", WarmerImage, "--push", "-f", "../deploy/Dockerfile_warmer", ".."}),
command: append([]string{"docker", "buildx", "build", "--platform", "linux/amd64", "-t", WarmerImage, "-f", "../deploy/Dockerfile_warmer", ".."}),
},
{
name: "Building onbuild base image",
Expand Down
3 changes: 1 addition & 2 deletions scripts/travis-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 641d8b6

Please sign in to comment.