Skip to content

Commit 4d623df

Browse files
committed
update golang and alpin images
1 parent bb044f6 commit 4d623df

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Set up Go
7070
uses: actions/setup-go@v5
7171
with:
72-
go-version: '1.23'
72+
go-version: '1.24'
7373
- name: golangci-lint
7474
uses: golangci/golangci-lint-action@v4
7575
with:

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up Go
7979
uses: actions/setup-go@v5
8080
with:
81-
go-version: '1.22'
81+
go-version: '1.24'
8282
- name: Run tests
8383
run: |
8484
cd site-manager
@@ -92,7 +92,7 @@ jobs:
9292
- name: Set up Go
9393
uses: actions/setup-go@v5
9494
with:
95-
go-version: '1.22'
95+
go-version: '1.24'
9696
- name: Run tests
9797
run: |
9898
cd paas-geo-monitor

paas-geo-monitor/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.2-alpine3.20 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24.2-alpine3.20 as builder
22

33
WORKDIR /workspace
44

@@ -20,7 +20,7 @@ ARG TARGETOS
2020
ARG TARGETARCH
2121
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -a -o paas-geo-monitor ./main.go
2222

23-
FROM --platform=$BUILDPLATFORM alpine:3.20.3
23+
FROM --platform=$BUILDPLATFORM alpine:3.20.6
2424

2525
ENV USER_UID=1001 USER_NAME=paas-geo-monitor GROUP_NAME=paas-geo-monitor
2626

site-manager/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.2-alpine3.20 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24.2-alpine3.20 as builder
22

33
WORKDIR /workspace
44

@@ -31,7 +31,7 @@ ARG TARGETARCH
3131
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -a -o site-manager ./main.go
3232

3333

34-
FROM --platform=$BUILDPLATFORM alpine:3.20.3
34+
FROM --platform=$BUILDPLATFORM alpine:3.20.6
3535

3636
ENV USER_UID=1001 USER_NAME=site-manager GROUP_NAME=site-manager
3737

0 commit comments

Comments
 (0)