Skip to content

Commit

Permalink
ci: disable docker push if dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb authored Sep 19, 2023
1 parent 70c9ba7 commit ff9154b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:
scala --version &&
sbt about
- name: Log in to DockerHub
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Rebuild and push ${{ matrix.platforms }} docker images
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'
uses: docker/build-push-action@v5
with:
context: ${{ matrix.dockerContext }}
Expand Down

0 comments on commit ff9154b

Please sign in to comment.