Skip to content

Commit

Permalink
build: skip dockerhub login if it's a PR (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
enapupe committed Dec 12, 2023
1 parent 6d30396 commit cfada19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:

- name: Login to DockerHub
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit cfada19

Please sign in to comment.