fix: print tarball path before loading

This commit is contained in:
Brock Allen
2024-03-03 22:14:39 -08:00
parent f325c05afe
commit 84aec248fc

View File

@@ -8,6 +8,9 @@ if [ ! -z $INPUT_DOCKER_NETWORK ];
then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_DOCKER_NETWORK" then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_DOCKER_NETWORK"
fi fi
then echo "loading image from $INPUT_TARBALL"; docker load --input $INPUT_TARBALL if [ ! -z $INPUT_TARBALL ];
then echo "loading image from $INPUT_TARBALL"
docker load --input $INPUT_TARBALL
fi
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "${INPUT_RUN//$'\n'/;}" exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "${INPUT_RUN//$'\n'/;}"