This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
FROM nginx:alpine3.22
|
FROM nginx:alpine3.22
|
||||||
COPY ./content /usr/share/nginx/html
|
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
|
# prepare for rootless operations
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
"additionalFooterText": "blablabla"
|
|
||||||
|
|
||||||
@@ -20,7 +20,6 @@ kubectl create namespace $NAMESPACE \
|
|||||||
kubectl -f - apply
|
kubectl -f - apply
|
||||||
|
|
||||||
|
|
||||||
sed -i 's,%TAG%,'$IMAGE_TAG','g content/about.md
|
|
||||||
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
|
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
|
||||||
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
|
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
|
||||||
kubectl apply -f - -n $NAMESPACE
|
kubectl apply -f - -n $NAMESPACE
|
||||||
|
|||||||
Reference in New Issue
Block a user