fix: destination lack

This commit is contained in:
annprog 2019-10-27 23:41:25 +08:00 committed by Nándor István Krácser
parent 98dea6ec95
commit af1f7ea186
1 changed files with 1 additions and 1 deletions

View File

@ -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