Skip to content

Commit 9894bb3

Browse files
committed
Update base container + actions
1 parent d6d35fe commit 9894bb3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ jobs:
1111

1212
build:
1313

14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up QEMU
21-
uses: docker/setup-qemu-action@v1
21+
uses: docker/setup-qemu-action@v3
2222

2323
- name: Set up Docker buildx
24-
uses: docker/setup-buildx-action@v1
24+
uses: docker/setup-buildx-action@v3
2525

2626
- name: Login to GitHub Container Registry
27-
uses: docker/login-action@v1
27+
uses: docker/login-action@v3
2828
with:
2929
registry: ghcr.io
3030
username: ${{ github.actor }}
3131
password: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Build and push Docker image
3434
id: docker_build
35-
uses: docker/build-push-action@v2
35+
uses: docker/build-push-action@v3
3636
with:
3737
platforms: linux/amd64,linux/arm64
3838
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ github.ref_name }}

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.18.4 as kafka-gitops
1+
FROM alpine:3 as kafka-gitops
22

33
WORKDIR /opt
44

@@ -7,7 +7,7 @@ RUN apk --update --no-cache add curl && \
77
unzip /opt/kafka-gitops.zip && \
88
chmod 755 /opt/kafka-gitops
99

10-
FROM alpine:3.18.4
10+
FROM alpine:3
1111

1212
RUN apk update && apk upgrade && \
1313
apk add bash yq github-cli openjdk17-jre && \

0 commit comments

Comments
 (0)