Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flokapi committed Sep 17, 2024
1 parent 0e971f2 commit 4aa73e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
python-version: "3.12"
- name: update pip
run: python -m pip install --upgrade pip

- name: install
run: make install

- name: test
run: make test


- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
# docker build -t img_cls:latest .
# docker run -p 8000:8000 -d --name img_cls_cont img_cls:latest
docker run -p 8000:8000 -d --name ${{ secrets.DOCKER_HUB_USERNAME }}/img_cls_cont img_cls:latest
docker run -p 8000:8000 -d --name img_cls_cont ${{ secrets.DOCKER_HUB_USERNAME }}/img_cls:latest
docker image prune -af
# echo ${{secrets.PROD_PASSWORD}} | sudo -S systemctl restart image-classification

0 comments on commit 4aa73e2

Please sign in to comment.