From 4c0724aae7bee585f139b2c1d01d858b59756a01 Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 6 Jul 2024 17:47:56 +0200 Subject: [PATCH] fix: fail if .env no exists --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a31a47f..79d0a6f 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -. ./.env || true +[ -f .env ] && . .env cat < /kaniko/.docker/config.json {