From af1f7ea186c107e82c697a3350748a9118fab2a2 Mon Sep 17 00:00:00 2001 From: annprog Date: Sun, 27 Oct 2019 23:41:25 +0800 Subject: [PATCH] fix: destination lack --- plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.sh b/plugin.sh index a54157b..57c2e34 100755 --- a/plugin.sh +++ b/plugin.sh @@ -55,7 +55,7 @@ if [ -n "${PLUGIN_TAGS:-}" ]; then elif [ -f .tags ]; then DESTINATIONS=$(cat .tags| tr ',' '\n' | while read tag; do echo "--destination=${REGISTRY}/${PLUGIN_REPO}:${tag} "; done) elif [ -n "${PLUGIN_REPO:-}" ]; then - DESTINATIONS="--destination=${PLUGIN_REPO}:latest" + DESTINATIONS="--destination=${REGISTRY}/${PLUGIN_REPO}:latest" else DESTINATIONS="--no-push" # Cache is not valid with --no-push