fix ci, 5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2023-12-19 12:11:41 +01:00
parent dae37100f5
commit 9041034723

View File

@ -11,6 +11,7 @@ if [ "$MD5_CHECKSUM" = "" ]; then
fi
SECRETS_CIPHERTEXT_FILE=secrets.enc
SECRETS_PLAINTEXT_FILE=/tmp/secrets
TMP_FILE=`mktemp`
POD_NAME_SUFFIX=`date +%s`
@ -36,6 +37,7 @@ if [ "$MD5_CHECKSUM" != "$CALCULATED_CHECKSUM" ]; then
exit 1
fi
mv $TMP_FILE /tmp/$SECRETS_PLAINTEXT_FILE
cat $TMP_FILE
mv $TMP_FILE $SECRETS_PLAINTEXT_FILE