Skip to content

Commit cfada19

Browse files
authored
build: skip dockerhub login if it's a PR (#373)
1 parent 6d30396 commit cfada19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282

8383
- name: Login to DockerHub
8484
uses: docker/login-action@v2
85+
if: github.event_name != 'pull_request'
8586
with:
8687
username: ${{ secrets.DOCKERHUB_USERNAME }}
8788
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)