diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ca6888dd4..a34de56730 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,6 @@ on: env: # ---- Language Versions ---- - GO_VERSION: "1.24.5" PYTHON_VERSION: "3.13.5" KIND_NODE_IMAGE: "kindest/node:v1.33.1@sha256:050072256b9a903bd914c0b2866828150cb229cea0efe5892e2b644d5dd3b34f" KUBECTL_VERSION: "v1.33.2" @@ -189,7 +188,7 @@ jobs: - name: Go Setup uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'operator/go.mod' - name: Lint Go Code working-directory: ./${{ matrix.component }} @@ -228,7 +227,7 @@ jobs: - name: Go Setup uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'auto-discovery/kubernetes/go.mod' - name: Lint Go Code working-directory: ./auto-discovery/kubernetes @@ -270,10 +269,6 @@ jobs: with: python-version: "${{ env.PYTHON_VERSION }}" - - uses: actions/setup-node@v4 - with: - node-version-file: ".nvmrc" - - name: Download Kind uses: actions/download-artifact@v4 with: @@ -349,7 +344,7 @@ jobs: - name: Go Setup uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'auto-discovery/cloud-aws/go.mod' - name: Lint Go Code working-directory: ./auto-discovery/cloud-aws @@ -730,7 +725,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'scbctl/go.mod' - name: Run tests working-directory: scbctl diff --git a/auto-discovery/cloud-aws/Dockerfile b/auto-discovery/cloud-aws/Dockerfile index 2ba2650677..68ccb456cb 100644 --- a/auto-discovery/cloud-aws/Dockerfile +++ b/auto-discovery/cloud-aws/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the service binary -FROM golang:1.24.2 AS builder +FROM golang:1.24.5 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/auto-discovery/cloud-aws/go.mod b/auto-discovery/cloud-aws/go.mod index ecac6511fb..81d7152c36 100644 --- a/auto-discovery/cloud-aws/go.mod +++ b/auto-discovery/cloud-aws/go.mod @@ -4,7 +4,7 @@ module github.com/secureCodeBox/secureCodeBox/auto-discovery/cloud-aws -go 1.24.2 +go 1.24.5 require ( github.com/aws/aws-sdk-go v1.55.6 diff --git a/auto-discovery/kubernetes/Dockerfile b/auto-discovery/kubernetes/Dockerfile index 68f2c12ea0..ff520c5c7e 100644 --- a/auto-discovery/kubernetes/Dockerfile +++ b/auto-discovery/kubernetes/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the manager binary -FROM golang:1.24.2 AS builder +FROM golang:1.24.5 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/auto-discovery/kubernetes/go.mod b/auto-discovery/kubernetes/go.mod index 0b652aadce..131734bb56 100644 --- a/auto-discovery/kubernetes/go.mod +++ b/auto-discovery/kubernetes/go.mod @@ -4,7 +4,7 @@ module github.com/secureCodeBox/secureCodeBox/auto-discovery/kubernetes -go 1.24.2 +go 1.24.5 require ( github.com/Masterminds/sprig v2.22.0+incompatible diff --git a/documentation/docs/contributing/local-deployment.md b/documentation/docs/contributing/local-deployment.md index fd4151197b..6bbde9ddd4 100644 --- a/documentation/docs/contributing/local-deployment.md +++ b/documentation/docs/contributing/local-deployment.md @@ -82,11 +82,11 @@ task: [build-operator-image] docker build -t ${IMG_NS}/operator:${IMG_TAG} /src/ => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 966B 0.0s => [internal] load metadata for gcr.io/distroless/static:nonroot 0.4s - => [internal] load metadata for docker.io/library/golang:1.24.2 1.0s + => [internal] load metadata for docker.io/library/golang:1.24.5 1.0s => [auth] library/golang:pull token for registry-1.docker.io 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 291B 0.0s - => [builder 1/11] FROM docker.io/library/golang:1.24.2@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5 0.0s + => [builder 1/11] FROM docker.io/library/golang:1.24.5@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5 0.0s => [stage-1 1/3] FROM gcr.io/distroless/static:nonroot@sha256:627d6c5a23ad24e6bdff827f16c7b60e0289029b0c79e9f7ccd54ae3279fb45f 0.0s => [internal] load build context 0.0s => => transferring context: 2.91kB 0.0s @@ -105,11 +105,11 @@ task: [build-operator-image] docker build -t ${IMG_NS}/operator:${IMG_TAG} /src/ [+] Building 1.1s (15/15) FINISHED docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 820B 0.0s - => [internal] load metadata for docker.io/library/golang:1.24.2 1.0s + => [internal] load metadata for docker.io/library/golang:1.24.5 1.0s => [internal] load metadata for gcr.io/distroless/static:nonroot 0.4s => [internal] load .dockerignore 0.0s => => transferring context: 171B 0.0s - => [builder 1/11] FROM docker.io/library/golang:1.24.2@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5 0.0s + => [builder 1/11] FROM docker.io/library/golang:1.24.5@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5 0.0s => [stage-1 1/3] FROM gcr.io/distroless/static:nonroot@sha256:627d6c5a23ad24e6bdff827f16c7b60e0289029b0c79e9f7ccd54ae3279fb45f 0.0s => [internal] load build context 0.0s => => transferring context: 81B 0.0s diff --git a/lurker/Dockerfile b/lurker/Dockerfile index 426f3f69f7..5e90f1790c 100644 --- a/lurker/Dockerfile +++ b/lurker/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the manager binary -FROM golang:1.24.2 AS builder +FROM golang:1.24.5 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/lurker/go.mod b/lurker/go.mod index 94d24c6fee..efa92250b2 100644 --- a/lurker/go.mod +++ b/lurker/go.mod @@ -4,7 +4,7 @@ module github.com/secureCodeBox/secureCodeBox/lurker -go 1.24.2 +go 1.24.5 require ( k8s.io/api v0.32.3 diff --git a/operator/Dockerfile b/operator/Dockerfile index 7855da8997..81dca478fe 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the manager binary -FROM golang:1.24.2 AS builder +FROM golang:1.24.5 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/operator/go.mod b/operator/go.mod index 8affe85235..1641e5ffa8 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -4,7 +4,7 @@ module github.com/secureCodeBox/secureCodeBox/operator -go 1.24.2 +go 1.24.5 require ( github.com/go-logr/logr v1.4.3 diff --git a/scbctl/go.mod b/scbctl/go.mod index 1b656d7076..435be2f3e3 100644 --- a/scbctl/go.mod +++ b/scbctl/go.mod @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 module github.com/secureCodeBox/secureCodeBox/scbctl -go 1.24.2 +go 1.24.5 require ( github.com/secureCodeBox/secureCodeBox/operator v0.0.0-20250409151104-b2c7b64c9589