From 908cbc2895979acd4f66980a2aae2e25492e5c19 Mon Sep 17 00:00:00 2001
From: ansgarz <ansgar.zwick@meissa.de>
Date: Thu, 20 Mar 2025 22:54:56 +0100
Subject: [PATCH] update hugo to 0.144.1 & pin cronJob immage to
 domaindrivenarchitecture/c4k-website-build:2.0.6

---
 infrastructure/build/build.py                     | 2 +-
 infrastructure/build/image/Dockerfile             | 4 ++--
 infrastructure/build/image/resources/functions.sh | 2 +-
 src/main/resources/website/build-cron.yaml        | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/infrastructure/build/build.py b/infrastructure/build/build.py
index 7bfe761..de67be6 100644
--- a/infrastructure/build/build.py
+++ b/infrastructure/build/build.py
@@ -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
diff --git a/infrastructure/build/image/Dockerfile b/infrastructure/build/image/Dockerfile
index 478305f..ac6dd2c 100644
--- a/infrastructure/build/image/Dockerfile
+++ b/infrastructure/build/image/Dockerfile
@@ -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/"
diff --git a/infrastructure/build/image/resources/functions.sh b/infrastructure/build/image/resources/functions.sh
index 17bf51a..64d4267 100644
--- a/infrastructure/build/image/resources/functions.sh
+++ b/infrastructure/build/image/resources/functions.sh
@@ -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
diff --git a/src/main/resources/website/build-cron.yaml b/src/main/resources/website/build-cron.yaml
index 5f167fa..85b7171 100644
--- a/src/main/resources/website/build-cron.yaml
+++ b/src/main/resources/website/build-cron.yaml
@@ -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: