mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 09:33:31 +02:00
adding exit 1 when there are not enough command line vars passed to run in docker script
This commit is contained in:
@@ -17,6 +17,7 @@ set -e
|
||||
|
||||
if [ $# -ne 3 ];
|
||||
then echo "Usage: run_in_docker.sh <path to Dockerfile> <context directory> <image tag>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dockerfile=$1
|
||||
|
||||
Reference in New Issue
Block a user