Skip to content

Commit 7b6d121

Browse files
authored
update UBI image for certification (#811)
* update UBI image for certification Signed-off-by: Samiur Arif <[email protected]> * update github runners from deprecated 20.04 to 24.04 Signed-off-by: Samiur Arif <[email protected]> --------- Signed-off-by: Samiur Arif <[email protected]>
1 parent 3a56cda commit 7b6d121

File tree

11 files changed

+865
-535
lines changed

11 files changed

+865
-535
lines changed

.github/workflows/build_and_push_image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333

3434
jobs:
3535
build-and-push-image:
36-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-24.04
3737
steps:
3838
- uses: actions/checkout@v4
3939
- name: Set up QEMU

.github/workflows/build_binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build-binaries:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-24.04
99
steps:
1010
- uses: actions/checkout@v4
1111
- name: Setup go

.github/workflows/dev_builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
extract-image-tag:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
outputs:
1414
build_tag: ${{ steps.extract_tag.outputs.tag }}
1515
steps:

.github/workflows/pre_release_builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
extract-image-tag:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
outputs:
1414
build_tag: ${{ steps.extract_tag.outputs.tag }}
1515
steps:

.github/workflows/pull_requests.yml

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

99
jobs:
1010
markdownlint:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/[email protected]
@@ -18,7 +18,7 @@ jobs:
1818
run: make markdownlint
1919

2020
test-sumologic-mock:
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-24.04
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions-rs/[email protected]
@@ -37,7 +37,7 @@ jobs:
3737
run: make test
3838

3939
build-image:
40-
runs-on: ubuntu-20.04
40+
runs-on: ubuntu-24.04
4141
steps:
4242
- uses: actions/checkout@v4
4343
- name: Build kubernetes-tools image
@@ -46,7 +46,7 @@ jobs:
4646
run: make test-image
4747

4848
test-update-collection-v3:
49-
runs-on: ubuntu-20.04
49+
runs-on: ubuntu-24.04
5050
steps:
5151
- uses: actions/checkout@v4
5252
- uses: actions/setup-go@v5

.github/workflows/release_builds.yml

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

88
jobs:
99
extract-image-tag:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
outputs:
1212
build_tag: ${{ steps.extract_tag.outputs.tag }}
1313
steps:
@@ -69,7 +69,7 @@ jobs:
6969
uses: ./.github/workflows/build_binaries.yml
7070
create-release:
7171
name: Create Github release
72-
runs-on: ubuntu-20.04
72+
runs-on: ubuntu-24.04
7373
needs:
7474
- build-binaries
7575
- extract-image-tag

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.5 as go-builder
1+
FROM golang:1.24.2 as go-builder
22
RUN mkdir /build
33
ADD ./src/go /build/
44
WORKDIR /build
@@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux \
2222
-ldflags '-w -extldflags "-static"' \
2323
-o update-collection-v3 cmd/update-collection-v3/main.go
2424

25-
FROM rust:1.78.0-alpine3.18 as rust-builder
25+
FROM rust:1.86.0-alpine as rust-builder
2626
RUN apk update \
2727
&& apk upgrade \
2828
&& apk add g++ git \
@@ -35,7 +35,7 @@ WORKDIR /logs-generator
3535
COPY ./src/rust/logs-generator .
3636
RUN cargo build --release
3737

38-
FROM alpine:3.20.1
38+
FROM alpine:3.21.3
3939
ARG TARGETARCH
4040
ARG TARGETOS
4141
ENV HELM_VERSION="3.7.2"

Dockerfile.kubectl-ubi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
22

33
ARG TARGETARCH
44
ARG TARGETOS

Dockerfile.sumologic-mock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.78.0-alpine3.18 as rust-builder
1+
FROM rust:1.86.0-alpine as rust-builder
22
RUN apk update \
33
&& apk upgrade \
44
&& apk add g++ git \
@@ -11,7 +11,7 @@ WORKDIR /sumologic-mock
1111
COPY ./src/rust/sumologic-mock .
1212
RUN cargo build --release
1313

14-
FROM alpine:3.20.1
14+
FROM alpine:3.21.3
1515
ARG TARGETARCH
1616
ARG TARGETOS
1717

0 commit comments

Comments
 (0)