new workflow #1
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: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
run: | | |
docker login -u ilanaliouchouche -p ${{ secrets.GHCR_TOKEN }} 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 |