Skip to content

Commit cc28b7f

Browse files
authored
Merge pull request #196 from Cloud-Code-AI/194-craete-a-public-docker-image-to-deploy-the-github-app
feat: Added docker image details
2 parents 5fe9c57 + 51c2a6c commit cc28b7f

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.github/workflows/build-docker.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build Docker Image
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Login to Docker Hub
16+
env:
17+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
18+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
19+
run: |
20+
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
21+
22+
- name: Build and push Docker image
23+
env:
24+
RELEASE_VERSION: ${{ github.event.release.tag_name }}
25+
run: |
26+
docker build -t kaizen-app:$RELEASE_VERSION .
27+
docker tag kaizen-app:$RELEASE_VERSION ${{ secrets.DOCKER_USERNAME }}/kaizen-app:$RELEASE_VERSION
28+
docker push ${{ secrets.DOCKER_USERNAME }}/kaizen-app:$RELEASE_VERSION

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
<a href="https://opensource.org/license/agpl-v3">
1212
<img src="https://img.shields.io/badge/License-AGPL%20v3-blue.svg" alt="License: AGPL-3.0">
1313
</a>
14+
<a href="https://hub.docker.com/r/cloudcodeai/kaizen-app">
15+
<img src="https://img.shields.io/docker/pulls/cloudcodeai/kaizen-app.svg?style=flat-square" alt="License: AGPL-3.0">
16+
</a>
17+
1418
</p>
1519

1620
# Kaizen
@@ -83,6 +87,8 @@ Kaizen will execute the generated tests and provide detailed reports.
8387

8488
Kaizen utilizes a GitHub app to perform actions like PR review and description updates. Here's a quick link to set up your own GitHub App: [docs/pages/github_app.md](docs/pages/github_app.md)
8589

90+
You can find the docker image [here](https://hub.docker.com/r/cloudcodeai/kaizen-app)
91+
8692
Deploy the API using Docker Compose:
8793

8894
```

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
app:
4-
image: cloudcodeai/kaizen-app
4+
image: cloudcodeai/kaizen-app:latest
55
ports:
66
- "8000:8000"
77
env_file:

0 commit comments

Comments
 (0)