Skip to content

Commit 51261d2

Browse files
committed
Upgrade go version
1 parent f770987 commit 51261d2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-containers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Set up Go 1.23
20+
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.23.2
23+
go-version: 1.24.6
2424
- uses: docker/login-action@v3
2525
with:
2626
registry: harbor.nirvati.org
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up Go 1.23
7979
uses: actions/setup-go@v5
8080
with:
81-
go-version: 1.23.2
81+
go-version: 1.24.6
8282
- uses: docker/login-action@v3
8383
with:
8484
registry: harbor.nirvati.org
@@ -100,7 +100,7 @@ jobs:
100100
if: ${{ matrix.build_binary != '' }}
101101
run: |
102102
cd src/github.com/goharbor/harbor
103-
docker run --rm -v .:/harbor -w /harbor/src/${{ matrix.container }} golang:1.23.12 /usr/local/go/bin/go build -buildvcs=false -o make/photon/${{ matrix.container }}/${{matrix.build_binary}} ${ADDITIONAL_GO_FLAGS:-}
103+
docker run --rm -v .:/harbor -w /harbor/src/${{ matrix.container }} golang:1.24.6 /usr/local/go/bin/go build -buildvcs=false -o make/photon/${{ matrix.container }}/${{matrix.build_binary}} ${ADDITIONAL_GO_FLAGS:-}
104104
- name: Run custom build script
105105
if: ${{ matrix.has_custom_build_script == true }}
106106
run: |

make/photon/exporter/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.12 AS build
1+
FROM golang:1.24.6 AS build
22

33
ENV CGO_ENABLED=0
44
ENV GOOS=linux

make/photon/registry/builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set +e
55
# TODO(Nirvati): Make this configurable/part of the CI config
66
VERSION="bunny"
77
DISTRIBUTION_SRC="github.com/nirvati/distribution"
8-
GOBUILDIMAGE="golang:1.23.12"
8+
GOBUILDIMAGE="golang:1.24.6"
99

1010
set -e
1111

make/photon/trivy-adapter/builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -z $1 ]; then
88
fi
99

1010
VERSION="0.33.2"
11-
GOBUILDIMAGE="golang:1.23.12"
11+
GOBUILDIMAGE="golang:1.24.6"
1212

1313
set -e
1414

0 commit comments

Comments
 (0)