Solve minor bugs in buildx.

This commit is contained in:
viferga 2019-09-17 23:23:26 -08:00
parent 6caad469f3
commit 2011703d1a

@ -47,12 +47,13 @@ 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
- docker build --platform=local -o . git://github.com/docker/buildx > /dev/null 2>&1
- mkdir -p ~/.docker/cli-plugins/
- mv buildx ~/.docker/cli-plugins/docker-buildx
# Run the build and packaging
script:
- docker build --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" .
- docker buildx build --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" .
# Upload the built images to DockerHub
after_script: