diff --git a/entrypoint.sh b/entrypoint.sh index 4eba477..ddaf57c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -26,7 +26,7 @@ sanitize "${TAG}" "tag" if [ "$REGISTRY" == "docker.pkg.github.com" ]; then export IMAGE="$GITHUB_REPOSITORY/$IMAGE" - if [ -z $INPUT_CACHE_REGISTRY ]; then + if [ ! -z $INPUT_CACHE_REGISTRY ]; then export INPUT_CACHE_REGISTRY="$GITHUB_REPOSITORY/$INPUT_CACHE_REGISTRY" fi fi