Skip to content

Commit d48e03e

Browse files
authored
Create docker-image.yml
1 parent 877a4c2 commit d48e03e

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Docker Image CI
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Log in to GitHub Container Registry
11+
uses: docker/login-action@v3
12+
with:
13+
registry: ghcr.io
14+
username: ${{ github.actor }}
15+
password: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Build and push Docker image
17+
run: |
18+
docker build . --file Dockerfile --tag ghcr.io/virtuos/whisperx-api:latest
19+
docker push ghcr.io/virtuos/whisperx-api:latest

0 commit comments

Comments
 (0)