diff --git a/plugin.sh b/plugin.sh index 9790d39..c5fa28c 100755 --- a/plugin.sh +++ b/plugin.sh @@ -67,7 +67,8 @@ run_stack_deploy() { if [[ ! -z "${PLUGIN_REG_USER}" ]] && [[ ! -z "${PLUGIN_REG_PASS}" ]]; then echo "--- discovered secrets, assuming private registry, logging in ---" docker login -u "${PLUGIN_REG_USER}" -p "${PLUGIN_REG_PASS}" - docker image pull "${PLUGIN_IMAGE}" + docker pull "${PLUGIN_IMAGE}" + echo "${PLUGIN_IMAGE}" docker -H "$REMOTE_DOCKER_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK" else docker -H "$REMOTE_DOCKER_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK"