Skip to content

Commit ce1210b

Browse files
committed
Bump Go version in CI and Dockerfiles
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
1 parent 0d2d4ae commit ce1210b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ workspace:
88

99
steps:
1010
- name: build-backend
11-
image: golang:1.22.5-alpine3.19
11+
image: golang:1.23.4-alpine3.20
1212
environment:
1313
GITHUB_TOKEN:
1414
from_secret: github_token
@@ -25,7 +25,7 @@ steps:
2525
depends_on: []
2626

2727
- name: unit-test
28-
image: golang:1.22.5-alpine3.19
28+
image: golang:1.23.4-alpine3.20
2929
environment:
3030
OPENAI_API_KEY:
3131
from_secret: openai_tools
@@ -47,7 +47,7 @@ steps:
4747
depends_on: []
4848

4949
- name: release-backend
50-
image: golang:1.22.5-bullseye
50+
image: golang:1.23.4-bullseye
5151
when:
5252
event:
5353
- tag

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### API Base ###
22
#---------------
3-
FROM golang:1.22-alpine AS api-base
3+
FROM golang:1.23-alpine AS api-base
44
WORKDIR /app
55
COPY go.mod go.sum ./
66
RUN go mod download
@@ -60,7 +60,7 @@ RUN yarn build
6060

6161
### Production Image ###
6262
#-----------------------
63-
FROM alpine:3.17
63+
FROM alpine:3.20
6464
RUN apk --update add --no-cache ca-certificates
6565

6666
COPY --from=api-build-env /helix /helix

Dockerfile.demos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.5-alpine3.19
1+
FROM golang:1.23.4-alpine3.20
22
WORKDIR /app
33
RUN apk add --no-cache bash openssh
44
COPY go.mod go.sum ./
@@ -7,4 +7,4 @@ COPY demos ./demos
77
WORKDIR /app/demos
88
RUN go build -o /demos
99
EXPOSE 80
10-
ENTRYPOINT [ "/demos" ]
10+
ENTRYPOINT [ "/demos" ]

Dockerfile.runner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
1818

1919
### BUILD
2020

21-
FROM golang:1.22 AS go-build-env
21+
FROM golang:1.23 AS go-build-env
2222
WORKDIR /workspace/helix
2323

2424
# <- COPY go.mod and go.sum files to the workspace

0 commit comments

Comments
 (0)