workflow corrected #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QuickDraw Docker Images for GitHub Container Registry | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout repository | |
run: | | |
docker login -u ilanaliouchouche -p ${{ secrets.QD_PAT }} ghcr.io | |
docker build -t ghcr.io/mlengineershub/quickdraw:latest . | |
docker build -t ghcr.io/mlengineershub/quickdraw-endpoints:latest -f endpoints/Dockerfile . | |
docker push ghcr.io/mlengineershub/quickdraw:latest | |
docker push ghcr.io/mlengineershub/quickdraw-endpoints:latest |