Skip to content

Commit 07d30a1

Browse files
committed
Update to Go 1.24
1 parent 2abd8b4 commit 07d30a1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: golang:1.23
5+
- image: golang:1.24
66
steps:
77
- checkout
88
- run: |
@@ -11,7 +11,7 @@ jobs:
1111
1212
lint:
1313
docker:
14-
- image: golang:1.23
14+
- image: golang:1.24
1515
steps:
1616
- checkout
1717
- run: |
@@ -26,7 +26,7 @@ jobs:
2626
- run: |
2727
apt-get update && apt-get -y install xz-utils unzip openssl
2828
sudo rm -rf /usr/local/go
29-
wget -qO- https://golang.org/dl/go1.23.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
29+
wget -qO- https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
3030
export PATH=$PATH:/usr/local/go/bin
3131
go version
3232
make test --always-make
@@ -38,14 +38,14 @@ jobs:
3838
- checkout
3939
- run: |
4040
sudo rm -rf /usr/local/go
41-
wget -qO- https://golang.org/dl/go1.23.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
41+
wget -qO- https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
4242
export PATH=$PATH:/usr/local/go/bin
4343
go version
4444
make test-e2e
4545
4646
generate:
4747
docker:
48-
- image: golang:1.23
48+
- image: golang:1.24
4949
steps:
5050
- checkout
5151
- run: |

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.23.9-alpine3.20 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24-alpine as builder
22

33
ARG TARGETOS
44
ARG TARGETARCH
@@ -10,7 +10,7 @@ WORKDIR /opt
1010

1111
RUN git update-index --refresh; make build OS=${TARGETOS} ARCH=${TARGETARCH}
1212

13-
FROM alpine:3.20 as runner
13+
FROM alpine:3.23 as runner
1414

1515
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
1616
COPY --from=builder /opt/observatorium-api /bin/observatorium-api

Dockerfile.e2e-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.9-alpine3.20 as builder
1+
FROM golang:1.24-alpine as builder
22

33
RUN apk add --update --no-cache ca-certificates tzdata git make bash && update-ca-certificates
44

@@ -7,7 +7,7 @@ WORKDIR /opt
77

88
RUN git update-index --refresh; make build
99

10-
FROM alpine:3.20 as runner
10+
FROM alpine:3.23 as runner
1111

1212
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
1313
COPY --from=builder /opt/observatorium-api /bin/observatorium-api

0 commit comments

Comments
 (0)