Skip to content

Commit 21a471a

Browse files
authored
Upgrade Alpine to 3.21.2 and Go to 1.23.6 (#43)
* update artifact action to v4 * change runner to ubuntu-22.04
1 parent 26ee178 commit 21a471a

File tree

21 files changed

+40
-35
lines changed

21 files changed

+40
-35
lines changed

.github/workflows/container-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313

1414
jobs:
1515
build-and-push-vali:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717
permissions:
1818
contents: read
1919
packages: write
@@ -55,7 +55,7 @@ jobs:
5555
platforms: linux/amd64,linux/arm64
5656

5757
build-and-push-valitail:
58-
runs-on: ubuntu-latest
58+
runs-on: ubuntu-22.04
5959
permissions:
6060
contents: read
6161
packages: write

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
logcli:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
permissions:
1515
contents: read
1616
strategy:
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@v3
2525
with:
26-
go-version: 1.23.4
26+
go-version: 1.23.6
2727

2828
- name: Install package dependencies
2929
run: |
@@ -47,14 +47,14 @@ jobs:
4747
run: zip --junk-paths logcli_${{ matrix.arch }}.zip cmd/logcli/logcli
4848

4949
- name: Upload logcli as artifact
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: logcli_${{ matrix.arch }}
5353
path: logcli_${{ matrix.arch }}.zip
5454
retention-days: 3
5555

5656
release:
57-
runs-on: ubuntu-latest
57+
runs-on: ubuntu-22.04
5858
needs: logcli
5959
if: startsWith(github.event.ref, 'refs/tags/v')
6060
permissions:
@@ -64,7 +64,7 @@ jobs:
6464
uses: actions/checkout@v3
6565

6666
- name: Download build artifacts
67-
uses: actions/download-artifact@v3
67+
uses: actions/download-artifact@v4
6868
with:
6969
path: artifacts
7070

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
unit-test:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
permissions:
1515
contents: read
1616
steps:
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v3
2222
with:
23-
go-version: 1.23.4
23+
go-version: 1.23.6
2424

2525
- name: Install package dependencies
2626
run: |

.github/workflows/vali-build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313

1414
jobs:
1515
build-and-push-vali-build-image:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717
permissions:
1818
contents: read
1919
packages: write

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.2.21 (2025-02-06)
2+
3+
* Upgrade Go to 1.23.6
4+
* Upgrade Alpine to 3.21.2
5+
16
## 2.2.20 (2024-12-06)
27

38
* Upgrade Go to 1.23.4

cmd/docker-driver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY . /src/vali
99
WORKDIR /src/vali
1010
RUN make clean && make BUILD_IN_CONTAINER=false cmd/docker-driver/docker-driver
1111

12-
FROM alpine:3.21.0
12+
FROM alpine:3.21.2
1313
RUN apk add --update --no-cache ca-certificates tzdata
1414
COPY --from=build /src/vali/cmd/docker-driver/docker-driver /bin/docker-driver
1515
WORKDIR /bin/

cmd/fluent-bit/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.4 as build
1+
FROM golang:1.23.6 as build
22
COPY . /src/vali
33
WORKDIR /src/vali
44
RUN make clean && make BUILD_IN_CONTAINER=false fluent-bit-plugin

cmd/logcli/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:1.23.4 as build
1+
FROM golang:1.23.6 as build
22

33
ARG TOUCH_PROTOS
44
COPY . /src/vali
55
WORKDIR /src/vali
66
RUN make clean && (if [ "${TOUCH_PROTOS}" ]; then make touch-protos; fi) && make BUILD_IN_CONTAINER=false logcli
77

8-
FROM alpine:3.21.0
8+
FROM alpine:3.21.2
99

1010
RUN apk add --no-cache ca-certificates
1111

cmd/migrate/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM golang:1.23.4 as build
1+
FROM golang:1.23.6 as build
22
COPY . /src/vali
33
WORKDIR /src/vali
44
RUN make clean && make BUILD_IN_CONTAINER=false migrate
55

6-
FROM alpine:3.21.0
6+
FROM alpine:3.21.2
77
RUN apk add --update --no-cache ca-certificates
88
COPY --from=build /src/vali/cmd/migrate/migrate /usr/bin/migrate
99
#ENTRYPOINT [ "/usr/bin/migrate" ]

cmd/querytee/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:1.23.4 as build
1+
FROM golang:1.23.6 as build
22

33
ARG TOUCH_PROTOS
44
COPY . /src/vali
55
WORKDIR /src/vali
66
RUN make clean && make BUILD_IN_CONTAINER=false vali-querytee
77

8-
FROM alpine:3.21.0
8+
FROM alpine:3.21.2
99
RUN apk add --update --no-cache ca-certificates
1010
COPY --from=build /src/vali/cmd/querytee/vali-querytee /usr/bin/querytee
1111
ENTRYPOINT [ "/usr/bin/querytee" ]

0 commit comments

Comments
 (0)