fix ci, 3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
2023-12-19 11:56:45 +01:00
parent e18aeed273
commit f6728eb898

View File

@ -5,9 +5,6 @@ if [ "$IMAGE_TAG" == "" ]; then
exit 1
fi
./deployment/decrypt-secrets.sh || exit 1
. secrets
rm secrets
IMAGE_NAME=gitea.hottis.de/wn/udi
@ -17,6 +14,11 @@ CONFIG_FILE=config.json
DEPLOYMENT_DIR=$PWD/deployment
INSTANCES_DIR=$DEPLOYMENT_DIR/instances
pushd $DEPLOYMENT_DIR > /dev/null
./decrypt-secrets.sh || exit 1
. secrets
rm secrets
popd > /dev/null
for NAMESPACE_DIR in `find $INSTANCES_DIR -type d -mindepth 1 -maxdepth 1`; do
NAMESPACE=`basename $NAMESPACE_DIR`