fix: fail if .env no exists

This commit is contained in:
ange 2024-07-06 17:47:56 +02:00
parent 61b0a93920
commit 4c0724aae7
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -1,6 +1,6 @@
#!/bin/sh -ex
. ./.env || true
[ -f .env ] && . .env
cat <<EOF > /kaniko/.docker/config.json
{