Skip to content

Commit

Permalink
Change pull_request docker login condition (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushroshan committed May 4, 2022
1 parent 1ab0bce commit 3b87cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/setup-qemu-action@v1

- name: Login to DockerHub
if: needs.build-context.outputs.push_image
if: needs.build-context.outputs.push_image == 'true'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 3b87cba

Please sign in to comment.