From 6450c51c443b16be39d7c72ae7e3d493e514e200 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 30 Nov 2020 08:24:09 +0100 Subject: [PATCH] Export to local dir for GHA Signed-off-by: CrazyMax --- hack/images | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/images b/hack/images index 5b903263..b7de1f45 100755 --- a/hack/images +++ b/hack/images @@ -79,8 +79,7 @@ fi exportCacheFlags="" if [[ -n "$cacheRefTo" ]] && [[ "$cacheType" = "local" ]]; then exportCacheFlags="--cache-to=type=local,dest=$cacheRefTo " -fi -if [ "$PUSH" = "push" ]; then +elif [ "$PUSH" = "push" ]; then exportCacheFlags="$exportCacheFlags--cache-to=type=inline " fi