changes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-12-19 10:35:59 +01:00
parent a40cb5801b
commit 4c9578b940
3 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash
set -ex
if [ "$IMAGE_TAG" == "" ]; then
echo "Make sure IMAGE_TAG is set"
@@ -18,6 +20,7 @@ kubectl create namespace $NAMESPACE \
kubectl -f - apply
sed -i 's,%TAG%,'$IMAGE_TAG','g content/about.md
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
kubectl apply -f - -n $NAMESPACE