Skip to content

Commit

Permalink
chore: add condition for docker hub login to fork PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-instill committed Oct 26, 2023
1 parent 2bd5008 commit bba8cce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main

pull_request:
branches:
- main
Expand Down Expand Up @@ -59,6 +60,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v2
with:
username: dropletbot
Expand Down

0 comments on commit bba8cce

Please sign in to comment.