Redirect to logs and tail the file.
This commit is contained in:
parent
4602911d63
commit
0d810c9bd7
@ -47,7 +47,8 @@ before_script:
|
||||
- sudo mv daemon.json /etc/docker/daemon.json
|
||||
- sudo systemctl restart docker
|
||||
- docker version
|
||||
- docker build --platform=local -o . git://github.com/docker/buildx > /dev/null
|
||||
- docker build --platform=local -o . git://github.com/docker/buildx > logs 2>&1
|
||||
- tail -n 500 logs
|
||||
- mkdir -p ~/.docker/cli-plugins/
|
||||
- mv buildx ~/.docker/cli-plugins/docker-buildx
|
||||
|
||||
@ -57,7 +58,8 @@ script:
|
||||
- sh -c 'while true; do echo "."; sleep 300; done' &
|
||||
- TRAVIS_POLL=$!
|
||||
- echo "Polling process pid (${TRAVIS_POLL})"
|
||||
- docker buildx build --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > /dev/null
|
||||
- docker buildx build --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > logs 2>&1
|
||||
- tail -n 500 logs
|
||||
- kill -9 ${TRAVIS_POLL}
|
||||
|
||||
# Upload the built images to DockerHub
|
||||
|
Loading…
Reference in New Issue
Block a user