Skip to content

Commit

Permalink
Merge pull request #11 from moriyalab/fix_ci_2
Browse files Browse the repository at this point in the history
fix ci
  • Loading branch information
TakanoTaiga authored Nov 1, 2024
2 parents 607fefd + 21f46a2 commit 11603d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: Log in to GitHub Container Registry
if: github.event_name == 'workflow_dispatch'
if: github.event_name == 'push'
uses: docker/login-action@v2
with:
registry: ghcr.io
Expand All @@ -29,7 +29,7 @@ jobs:
docker build -t ghcr.io/${{ github.repository }}:latest --target release_image .
- name: Push Docker image
if: github.event_name == 'workflow_dispatch'
if: github.event_name == 'push'
run: |
docker push ghcr.io/${{ github.repository }}_dev:latest
docker push ghcr.io/${{ github.repository }}:latest

0 comments on commit 11603d9

Please sign in to comment.