Skip to content

Commit 6941598

Browse files
authored
KAFKA-16826: Integrate Native Docker Image with github actions (apache#16045)
This PR integrates the Native docker image with the existing github action jobs for the jvm docker image of AK. The integration is done to the following actions: docker_build_and_test.yml: Builds the docker image and runs sanity tests and CVE scan docker_rc_release.yml: Builds the RC docker image for both amd and arm platform and pushes it to the dockerhub. docker_promote.yml: Promotes the RC docker image to the released image tag Reviewers: Manikumar Reddy <[email protected]>, Vedarth Sharma <[email protected]>
1 parent de32028 commit 6941598

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/docker_build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
description: Docker image type to build and test
2424
options:
2525
- "jvm"
26+
- "native"
2627
kafka_url:
2728
description: Kafka url to be used to build the docker image
2829
required: true

.github/workflows/docker_promote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ on:
1919
workflow_dispatch:
2020
inputs:
2121
rc_docker_image:
22-
description: RC docker image that needs to be promoted (Example:- apache/kafka:3.6.0-rc0)
22+
description: RC docker image that needs to be promoted (Example:- apache/kafka:3.8.0-rc0 (OR) apache/kafka-native:3.8.0-rc0)
2323
required: true
2424
promoted_docker_image:
25-
description: Docker image name of the promoted image (Example:- apache/kafka:3.6.0)
25+
description: Docker image name of the promoted image (Example:- apache/kafka:3.8.0 (OR) apache/kafka-native:3.8.0)
2626
required: true
2727

2828
jobs:

.github/workflows/docker_rc_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ on:
2323
description: Docker image type to be built and pushed
2424
options:
2525
- "jvm"
26+
- "native"
2627
rc_docker_image:
27-
description: RC docker image that needs to be built and pushed to Dockerhub (Example:- apache/kafka:3.6.0-rc0)
28+
description: RC docker image that needs to be built and pushed to Dockerhub (Example:- apache/kafka:3.8.0-rc0 (OR) apache/kafka-native:3.8.0-rc0)
2829
required: true
2930
kafka_url:
3031
description: Kafka url to be used to build the docker image

0 commit comments

Comments
 (0)