Skip to content

Commit afb979b

Browse files
authored
Update go version to 1.21.3 (#5630)
* update go version to 1.21.3 Signed-off-by: Ben Ye <[email protected]> * update build image tag Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
1 parent f05e2be commit afb979b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/test-build-deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-20.04
1313
container:
14-
image: quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b
14+
image: quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50
1515
steps:
1616
- name: Checkout Repo
1717
uses: actions/checkout@v2
@@ -40,7 +40,7 @@ jobs:
4040
test:
4141
runs-on: ubuntu-20.04
4242
container:
43-
image: quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b
43+
image: quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50
4444
steps:
4545
- name: Checkout Repo
4646
uses: actions/checkout@v2
@@ -59,7 +59,7 @@ jobs:
5959
build:
6060
runs-on: ubuntu-20.04
6161
container:
62-
image: quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b
62+
image: quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50
6363
steps:
6464
- name: Checkout Repo
6565
uses: actions/checkout@v2
@@ -118,7 +118,7 @@ jobs:
118118
- name: Upgrade golang
119119
uses: actions/setup-go@v2
120120
with:
121-
go-version: 1.21.0
121+
go-version: 1.21.3
122122
- name: Checkout Repo
123123
uses: actions/checkout@v2
124124
- name: Install Docker Client
@@ -193,14 +193,14 @@ jobs:
193193
run: |
194194
touch build-image/.uptodate
195195
MIGRATIONS_DIR=$(pwd)/cmd/cortex/migrations
196-
make BUILD_IMAGE=quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b TTY='' configs-integration-test
196+
make BUILD_IMAGE=quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50 TTY='' configs-integration-test
197197
198198
deploy_website:
199199
needs: [build, test]
200200
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
201201
runs-on: ubuntu-20.04
202202
container:
203-
image: quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b
203+
image: quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50
204204
steps:
205205
- name: Checkout Repo
206206
uses: actions/checkout@v2
@@ -242,7 +242,7 @@ jobs:
242242
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
243243
runs-on: ubuntu-20.04
244244
container:
245-
image: quay.io/cortexproject/build-image:feature-master-update-to-go-1.21-050c36e7b
245+
image: quay.io/cortexproject/build-image:update-go-1.21.3-e38685e50
246246
steps:
247247
- name: Checkout Repo
248248
uses: actions/checkout@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ build-image/$(UPTODATE): build-image/*
122122
SUDO := $(shell docker info >/dev/null 2>&1 || echo "sudo -E")
123123
BUILD_IN_CONTAINER := true
124124
BUILD_IMAGE ?= $(IMAGE_PREFIX)build-image
125-
LATEST_BUILD_IMAGE_TAG ?= feature-master-update-to-go-1.21-050c36e7b
125+
LATEST_BUILD_IMAGE_TAG ?= update-go-1.21.3-e38685e50
126126

127127
# TTY is parameterized to allow Google Cloud Builder to run builds,
128128
# as it currently disallows TTY devices. This value needs to be overridden

build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.0-bullseye
1+
FROM golang:1.21.3-bullseye
22
ARG goproxyValue
33
ENV GOPROXY=${goproxyValue}
44
RUN apt-get update && apt-get install -y curl file jq unzip protobuf-compiler libprotobuf-dev && \

0 commit comments

Comments
 (0)