From 79ad5900d817f1df7435505162fcce889f2a07cb Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 19 Dec 2025 10:43:39 +0100 Subject: [PATCH] changes 3 --- Dockerfile | 5 ++++- content/config.json | 2 -- deployment/deploy.sh | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 content/config.json diff --git a/Dockerfile b/Dockerfile index 447839a..86d881c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM nginx:alpine3.22 COPY ./content /usr/share/nginx/html -RUN cd /usr/share/nginx/html && ./snippet-indexer.sh +RUN \ + cd /usr/share/nginx/html && \ + ./snippet-indexer.sh && \ + sed -i 's,%TAG%,'$RELEASE_TAG','g about.md # ------------ # prepare for rootless operations diff --git a/content/config.json b/content/config.json deleted file mode 100644 index 3c37f60..0000000 --- a/content/config.json +++ /dev/null @@ -1,2 +0,0 @@ -"additionalFooterText": "blablabla" - diff --git a/deployment/deploy.sh b/deployment/deploy.sh index 6e5fe5d..f3bfb5d 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -20,7 +20,6 @@ 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