File tree Expand file tree Collapse file tree 8 files changed +17
-9
lines changed
Expand file tree Collapse file tree 8 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,20 @@ ENV GO_VERSION=1.25.7
1919ENV GOROOT=/usr/local/go
2020ENV PATH=$GOROOT/bin:$PATH
2121
22+ ENV GO_VERSION=1.25.7
23+ ENV GOROOT=/usr/local/go
24+ ENV PATH=$GOROOT/bin:$PATH
25+
2226SHELL ["/bin/bash" , "-c" ]
2327
2428# Install Go 1.25.7 to satisfy go.mod toolchain requirement (go 1.25.0)
2529RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH="amd64" ; elif [[ ${ARCH} == "aarch64" ]]; then export ARCH="arm64" ; fi && \
2630 curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz" -o go.tar.gz && \
2731 rm -rf /usr/local/go && \
2832 tar -C /usr/local -xzf go.tar.gz && \
29- rm go.tar.gz
33+ rm go.tar.gz && \
34+ ln -sf /usr/local/go/bin/go /usr/bin/go.real && \
35+ ln -sf /usr/local/go/bin/gofmt /usr/bin/gofmt
3036RUN go version
3137
3238# Temporary workaround since mirror.centos.org is down and can be replaced with vault.centos.org
Original file line number Diff line number Diff line change 1414 name : Set up Go 1.x
1515 uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
1616 with :
17- go-version : 1.24.6
17+ go-version : 1.25.7
1818 -
1919 name : Set up Python 3.11
2020 uses : actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
Original file line number Diff line number Diff line change 1515 name : Set up Go 1.x
1616 uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
1717 with :
18- go-version : 1.24.6
18+ go-version : 1.25.7
1919 -
2020 name : Set up Python 3.11
2121 uses : actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
Original file line number Diff line number Diff line change 3232 - name : Set up Go 1.x
3333 uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3434 with :
35- go-version : 1.23.6
35+ go-version : 1.25.7
3636 - name : Set up QEMU
3737 uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
3838
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Detailed instructions regarding the DevWorkspace Operator development are provid
4646
4747To build, test and debug the DevWorkspace Operator the following development tools are required:
4848
49- - go 1.16 or later
49+ - go 1.25 or later
5050- git
5151- sed
5252- jq
Original file line number Diff line number Diff line change 1515
1616# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
1717# Use BUILDPLATFORM to ensure the builder always runs natively on the host machine
18- FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 AS builder
18+ # Image pinned by SHA256 to address GitHub security bot warnings about unpinned dependencies
19+ FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25.7-1771417345@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS builder
1920
2021# Accept TARGETARCH and TARGETPLATFORM, which are automatically passed by the builder
2122ARG TARGETARCH
Original file line number Diff line number Diff line change 11module github.com/devfile/devworkspace-operator
22
3- go 1.24 .0
3+ go 1.25 .0
44
5- toolchain go1.24.6
5+ toolchain go1.25.7
66
77require (
88 github.com/devfile/api/v2 v2.3.1-alpha.0.20250521155908-5c3d7b99d252
Original file line number Diff line number Diff line change 1515
1616# Build the manager binary
1717# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
18- FROM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 as builder
18+ # Image pinned by SHA256 to address GitHub security bot warnings about unpinned dependencies
19+ FROM registry.access.redhat.com/ubi9/go-toolset:1.25.7-1771417345@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc as builder
1920ARG TARGETARCH
2021ARG TARGETOS
2122ENV GOPATH=/go/
You can’t perform that action at this time.
0 commit comments