Download buildkit instead of installing it in travis.
This commit is contained in:
parent
d1c0df7e70
commit
33eb3aa650
@ -51,10 +51,11 @@ before_script:
|
||||
- |
|
||||
sh -c 'while true; do echo "."; sleep 60; done' &
|
||||
export TRAVIS_POLL_INSTALL=$!
|
||||
- docker build --platform=local -o . git://github.com/docker/buildx > /dev/null 2>&1
|
||||
- mkdir -vp ~/.docker/cli-plugins/
|
||||
- curl -sL "https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
|
||||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
- docker buildx version
|
||||
- kill -9 ${TRAVIS_POLL_INSTALL}
|
||||
- mkdir -p ~/.docker/cli-plugins/
|
||||
- mv buildx ~/.docker/cli-plugins/docker-buildx
|
||||
|
||||
# Run the build and packaging and upload the built images to DockerHub
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user