secrets handling, part 2

This commit is contained in:
Wolfgang Hottgenroth 2023-12-19 11:47:37 +01:00
parent 7eb7ec4798
commit c77394bf4d
Signed by: wn
GPG Key ID: 836E9E1192A6B132
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,6 @@ if [ "$ENCRYPTION_KEY" = "" ]; then
exit 1 exit 1
fi fi
MD5_CHECKSUM=$1
if [ "$MD5_CHECKSUM" = "" ]; then if [ "$MD5_CHECKSUM" = "" ]; then
echo "No checksum given" echo "No checksum given"
exit 1 exit 1

View File

@ -5,6 +5,11 @@ if [ "$IMAGE_TAG" == "" ]; then
exit 1 exit 1
fi fi
./decrypt-secrets.sh || exit 1
. secrets
rm secrets
IMAGE_NAME=gitea.hottis.de/wn/udi IMAGE_NAME=gitea.hottis.de/wn/udi
CONFIG_FILE=config.json CONFIG_FILE=config.json