Skip to content

Commit 59d70c7

Browse files
Fricounetantoine-gaillard
authored andcommitted
[local] Set GOTOOLCHAIN
1 parent 3df7c1c commit 59d70c7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitlab-ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ include: https://gitlab-templates.ddbuild.io/compute-delivery/v2/compute-deliver
33
test:
44
stage: verify
55
tags: [ "arch:amd64" ]
6-
image: registry.ddbuild.io/images/mirror/golang:1.21
6+
image: registry.ddbuild.io/images/mirror/golang:1.22
7+
variables:
8+
GOTOOLCHAIN: "auto"
79
script:
810
- make test-go test-vet test-fmt
911

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
ARG BASE_IMAGE
22

3-
FROM golang:1.20 as builder
3+
FROM registry.ddbuild.io/images/mirror/golang:1.22 as builder
44
WORKDIR /go/src/kubernetes-csi/external-provisioner
55
ADD . .
6+
ENV GOTOOLCHAIN auto
67
ENV GOFLAGS="-buildvcs=false"
78
RUN make build
89

0 commit comments

Comments
 (0)