Skip to content

Commit

Permalink
only login if push
Browse files Browse the repository at this point in the history
  • Loading branch information
mymichu committed Jul 5, 2021
1 parent 0ef876e commit c7ad37d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

- name: login
uses: docker/[email protected]
if: startsWith(github.ref, 'refs/tags/docker-v')
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESSTOKEN }}
Expand Down

0 comments on commit c7ad37d

Please sign in to comment.