6 lines
242 B
Bash
6 lines
242 B
Bash
export DOCKER_HOST=ssh://nbg-0
|
|
|
|
function build-n-push {
|
|
docker build ${1} --tag=localhost:5000/${2} --force-rm --compress && docker push localhost:5000/${2} # --squash can eat disk space quickly due to diffs not being taken in calculation
|
|
}
|