Skip to content

Commit

Permalink
KAFKA-16826: Integrate Native Docker Image with github actions (apach…
Browse files Browse the repository at this point in the history
…e#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]>
  • Loading branch information
kagarwal06 authored May 24, 2024
1 parent de32028 commit 6941598
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
description: Docker image type to build and test
options:
- "jvm"
- "native"
kafka_url:
description: Kafka url to be used to build the docker image
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker_promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ on:
workflow_dispatch:
inputs:
rc_docker_image:
description: RC docker image that needs to be promoted (Example:- apache/kafka:3.6.0-rc0)
description: RC docker image that needs to be promoted (Example:- apache/kafka:3.8.0-rc0 (OR) apache/kafka-native:3.8.0-rc0)
required: true
promoted_docker_image:
description: Docker image name of the promoted image (Example:- apache/kafka:3.6.0)
description: Docker image name of the promoted image (Example:- apache/kafka:3.8.0 (OR) apache/kafka-native:3.8.0)
required: true

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker_rc_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ on:
description: Docker image type to be built and pushed
options:
- "jvm"
- "native"
rc_docker_image:
description: RC docker image that needs to be built and pushed to Dockerhub (Example:- apache/kafka:3.6.0-rc0)
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)
required: true
kafka_url:
description: Kafka url to be used to build the docker image
Expand Down

0 comments on commit 6941598

Please sign in to comment.