Skip to content

Commit

Permalink
do not fail to login
Browse files Browse the repository at this point in the history
  • Loading branch information
ademariag committed Sep 10, 2023
1 parent b947617 commit b5bd173
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
echo ${{ env.REF_NAME }}
- name: Login to DockerHub
uses: docker/login-action@v1
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}
if: env.DOCKERHUB_USERNAME != null
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit b5bd173

Please sign in to comment.