mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
7 lines
288 B
Bash
7 lines
288 B
Bash
|
#!/bin/bash -x
|
||
|
# Small script to deploy locally built images to a remote docker
|
||
|
compose_options=$1
|
||
|
images=$(docker-compose $1 images | awk 'NR > 2 { printf $2":"$3" " }')
|
||
|
docker save $images | pigz - > mail.local.tgz
|
||
|
echo "now run 'docker -H \"ssh://user@host\" load -i mail.local.tgz"
|