diff --git a/deployment/decrypt-secrets.sh b/deployment/decrypt-secrets.sh index aa7febb..229ccb8 100755 --- a/deployment/decrypt-secrets.sh +++ b/deployment/decrypt-secrets.sh @@ -5,7 +5,6 @@ if [ "$ENCRYPTION_KEY" = "" ]; then exit 1 fi -MD5_CHECKSUM=$1 if [ "$MD5_CHECKSUM" = "" ]; then echo "No checksum given" exit 1 diff --git a/deployment/deploy.sh b/deployment/deploy.sh index 4a4dcdd..7b2fd75 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -5,6 +5,11 @@ if [ "$IMAGE_TAG" == "" ]; then exit 1 fi +./decrypt-secrets.sh || exit 1 + +. secrets +rm secrets + IMAGE_NAME=gitea.hottis.de/wn/udi CONFIG_FILE=config.json