mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 22:09:37 +01:00
fix: Reverse conditional for github cache registry
This commit is contained in:
parent
b351432674
commit
47b714c8dd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue