Skip to content

Commit

Permalink
Merge pull request OpenUp-LabTakizawa#37 from Marukome0743/main
Browse files Browse the repository at this point in the history
Update push-dockerhub.yml
  • Loading branch information
Marukome0743 authored Nov 20, 2023
2 parents 4338329 + 98f8cb7 commit 8ab0c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
if: ${{ secrets.DOCKER_USER != "" && secrets.DOCKER_PAT != "" }}
if: ${{ github.repository_owner == 'OpenUp-LabTakizawa' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
Expand All @@ -62,7 +62,7 @@ jobs:
provenance: false

- name: Docker Scout
if: ${{ github.event_name == 'pull_request' && secrets.DOCKER_USER != "" && secrets.DOCKER_PAT != "" }}
if: ${{ github.event_name == 'pull_request' && github.repository_owner == 'OpenUp-LabTakizawa' }}
uses: docker/scout-action@v1
with:
command: cves,recommendations,compare
Expand Down

0 comments on commit 8ab0c1b

Please sign in to comment.