use buildkit

master
lub 4 years ago
parent e36db30d14
commit 337162e38c

@ -1,5 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
export DOCKER_BUILDKIT=1
docker build -t registry.lubiland.de/unifi-controller unifi-controller/ docker build -t registry.lubiland.de/unifi-controller unifi-controller/
docker push registry.lubiland.de/unifi-controller docker push registry.lubiland.de/unifi-controller
docker stack deploy -c docker-compose.yml --with-registry-auth unifi docker stack deploy -c docker-compose.yml --with-registry-auth unifi