update hugo to 0.144.1 & pin cronJob immage to domaindrivenarchitecture/c4k-website-build:2.0.6

This commit is contained in:
ansgarz 2025-03-20 22:54:56 +01:00
parent ec1d62c801
commit 908cbc2895
4 changed files with 5 additions and 5 deletions
infrastructure/build
src/main/resources/website

View file

@ -7,7 +7,7 @@ import logging
name = 'c4k-website'
MODULE = 'build'
PROJECT_ROOT_PATH = '../..'
version = "2.0.4-dev"
version = "2.0.7-dev"
@init

View file

@ -3,8 +3,8 @@ FROM clojure:lein
# Prepare Entrypoint Script
ADD resources /tmp
ENV HUGO_VERSION="0.125.5"
ENV GO_VERSION="1.19.13"
ENV HUGO_VERSION="0.144.1"
ENV GO_VERSION="1.24.1"
ENV BUILDDIR="/etc/website"
ENV SOURCEDIR="/etc/websitesource"
ENV WEBSITEROOT="/var/www/html/website/"

View file

@ -51,7 +51,7 @@ function install-hugo-from-deb() {
function install-go-from-tar() {
curl -L "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" -o go_linux-amd64.tar.gz
EXPECTED_CHECKSUM="4643d4c29c55f53fa0349367d7f1bb5ca554ea6ef528c146825b0f8464e2e668 go_linux-amd64.tar.gz"
EXPECTED_CHECKSUM="cb2396bae64183cdccf81a9a6df0aea3bce9511fc21469fb89a0c00470088073 go_linux-amd64.tar.gz"
ACTUAL_CHECKSUM="$(sha256sum go_linux-amd64.tar.gz)"
if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]
then

View file

@ -20,7 +20,7 @@ spec:
app.kubernetes.part-of: NAME-website
spec:
containers:
- image: domaindrivenarchitecture/c4k-website-build
- image: domaindrivenarchitecture/c4k-website-build:2.0.6
name: build-cron-container
imagePullPolicy: IfNotPresent
resources: