Add the dynamic version to the sidebar
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

master v1.4.9
René Jochum 2 years ago
parent 549f895612
commit 29e546e199
Signed by: jochum
GPG Key ID: F7D906F5E51E8E5E

@ -23,4 +23,7 @@ steps:
password:
from_secret: registry.fk.jochum.dev-robot
repo: registry.fk.jochum.dev/jochum/homepage
auto_tag: true
auto_tag: true
build_args:
- HUGO_VERSION=${DRONE_TAG:1}
- URL=https://jochum.dev

@ -1,7 +1,10 @@
# Build public with hugo
# Build with selfmade hugo
FROM registry.fk.jochum.dev/jochum/hugo:latest
ARG URL=https://jochum.dev
ARG HUGO_VERSION=unknown
ENV HUGO_VERSION ${HUGO_VERSION}
ARG URL=https://example.com
COPY . /build
WORKDIR /build

@ -1,3 +1,3 @@
#!/bin/sh
go get github.com/gohugoio/hugo
$GOPATH/bin/hugo server --bind="::1" -b http://localhost:1313 -v -t persona --disableFastRender
podman build --build-arg HUGO_VERSION=1.2.3-development --build-arg URL=http://localhost:8080 -t homepage:latest .
podman run --rm -p "8080:80" homepage:latest

@ -81,6 +81,9 @@ For me that wasn't a 5 minutes job as I had to replace [ingress-nginx](https://g
kubernetesIngress:
publishedService:
enabled: true
allowExternalNameServices: true
kubernetesCRD:
allowExternalNameServices: true
priorityClassName: "system-cluster-critical"
tolerations:
- key: "CriticalAddonsOnly"
@ -96,12 +99,6 @@ For me that wasn't a 5 minutes job as I had to replace [ingress-nginx](https://g
http3:
enabled: true
additionalArguments:
- "--providers.kubernetesingress.allowexternalnameservices"
- "--providers.kubernetescrd.allowexternalnameservices"
- "--entrypoints.websecure.http3.advertisedport=443"
- "--certificatesresolvers.letsencrypt-prod.acme.tlschallenge"
- "--certificatesresolvers.letsencrypt-prod.acme.email=support@jochum.dev"
- "--certificatesresolvers.letsencrypt-prod.acme.storage=/data/acme.json"
- "--certificatesresolvers.letsencrypt-prod.acme.caserver=https://acme-v02.api.letsencrypt.org/directory"
image:
name: traefik
@ -118,6 +115,12 @@ For me that wasn't a 5 minutes job as I had to replace [ingress-nginx](https://g
enabled: true
permanentRedirect: true
certResolvers:
letsencrypt-prod:
email: support@jochum.dev
tlsChallenge: true
storage: /data/acme.json
logs:
# general:
# format: json

@ -4,6 +4,9 @@
<div class="text_widget">
<p>&copy; 2013-2022 by René Jochum, under a <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a> license.</p>
</div>
<div class="text_widget">
<p>v{{ os.Getenv "HUGO_VERSION" }}</p>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save