Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TakanoTaiga authored Dec 6, 2024
1 parent 6d8056d commit 4534a29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build Docker image
if: github.event_name != 'push'
run: |
docker build -t ghcr.io/${{ github.repository }}:latest .
docker build .
- name: Push Docker image
if: github.event_name == 'push'
run: |
docker push ghcr.io/${{ github.repository }}:latest
# docker push ghcr.io/${{ github.repository }}:latest
docker build -t ${{ secrets.DOCKER_USERNAME }}/horus_inference_server:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/horus_inference_server:latest

0 comments on commit 4534a29

Please sign in to comment.