Skip to content

Commit f723322

Browse files
new workflow
1 parent cdd51e9 commit f723322

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish-ghcr.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: QuickDraw Docker Images for GitHub Container Registry
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_and_publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
run: |
15+
docker login -u ilanaliouchouche -p ${{ secrets.GHCR_TOKEN }} ghcr.io
16+
docker build -t ghcr.io/mlengineershub/quickdraw:latest .
17+
docker build -t ghcr.io/mlengineershub/quickdraw-endpoints:latest -f endpoints/Dockerfile .
18+
docker push ghcr.io/mlengineershub/quickdraw:latest
19+
docker push ghcr.io/mlengineershub/quickdraw-endpoints:latest

0 commit comments

Comments
 (0)