From ee6ab23922dd6893b0129e6b5d818a3dc934255f Mon Sep 17 00:00:00 2001 From: devthejo Date: Sat, 2 Dec 2023 00:37:14 +0100 Subject: [PATCH] fix: syntax --- buildkit/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildkit/action.yml b/buildkit/action.yml index 6d4e784..34a46ad 100644 --- a/buildkit/action.yml +++ b/buildkit/action.yml @@ -105,9 +105,9 @@ runs: echo "{\"auths\":{\"$INPUT_REGISTRY\":{\"username\":\"$INPUT_REGISTRY_USERNAME\",\"password\":\"$INPUT_REGISTRY_PASSWORD\"}}}" > $DOCKER_CONFIG/config.json fi - target_args = "" + target_args="" if [ -n "$INPUT_TARGET" ]; then - target_args = "--target=$INPUT_TARGET" + target_args="--target=$INPUT_TARGET" fi # build and push using buildkit