Skip to content

Commit b8a37e4

Browse files
Merge pull request #5 from DireLines/main
CICD post image creation
2 parents 631039e + 1a9a17f commit b8a37e4

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/tests.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"hardwareConfig": {
4+
"endpointConfig": {
5+
"gpuIds": "AMPERE_16",
6+
"name": "16GB GPU"
7+
}
8+
},
9+
"input": {
10+
"prompt": "building 8 stories",
11+
"width": 512,
12+
"height": 512,
13+
"guidance_scale": 7.5,
14+
"num_inference_steps": 50,
15+
"num_outputs": 1,
16+
"prompt_strength": 1,
17+
"scheduler": "KLMS"
18+
}
19+
}
20+
]

.github/workflows/CD-docker_dev.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ jobs:
3333
with:
3434
push: true
3535
tags: ${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMG }}:dev
36+
- uses: actions/checkout@v3
37+
- name: Run Tests
38+
uses: direlines/runpod-test-runner@v1.5
39+
with:
40+
image-tag: ${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMG }}:dev
41+
runpod-api-key: ${{ secrets.RUNPOD_API_KEY }}

0 commit comments

Comments
 (0)