dind: bind-mount tool: deploy image to the correct registry

This commit is contained in:
Kostas Lekkas 2016-07-06 01:44:03 +03:00
parent 39af247233
commit 6aba97dce0

View File

@ -41,7 +41,11 @@ function showHelp {
}
function deploySupervisor {
make -C "$SUPERVISOR_BASE_DIR" deploy
make -C "$SUPERVISOR_BASE_DIR" \
ARCH="$ARCH" \
DEPLOY_REGISTRY="$DEPLOY_REGISTRY" \
PASSWORDLESS_DROPBEAR="$PASSWORDLESS_DROPBEAR" \
deploy
}
function runDind {
@ -63,9 +67,10 @@ function runDind {
done
make -C "$SUPERVISOR_BASE_DIR" \
ARCH="$ARCH" \
PASSWORDLESS_DROPBEAR="$PASSWORDLESS_DROPBEAR" \
SUPERVISOR_EXTRA_MOUNTS="$SUPERVISOR_EXTRA_MOUNTS" \
SUPERVISOR_IMAGE="registry.resindev.io/resin/${ARCH}-supervisor:master" \
SUPERVISOR_IMAGE="${DEPLOY_REGISTRY}resin/${ARCH}-supervisor:master" \
run-supervisor
}