From f325c05afed0f13ed9a8e449060ac7f397cf39eb Mon Sep 17 00:00:00 2001 From: Brock Allen Date: Fri, 2 Feb 2024 17:27:24 -0800 Subject: [PATCH] wip: testing tarball field --- entrypoint.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 184c292..cc2f4eb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,8 +8,6 @@ if [ ! -z $INPUT_DOCKER_NETWORK ]; then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_DOCKER_NETWORK" fi -if [ ! -z $INPUT_TARBALL ]; -then docker load --input $INPUT_TARBALL -fi +then echo "loading image from $INPUT_TARBALL"; docker load --input $INPUT_TARBALL exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "${INPUT_RUN//$'\n'/;}"