This commit is contained in:
meysamhadeli 2023-01-26 02:09:48 +03:30
parent 9b3477fcb9
commit 4828c06e44

View File

@ -35,7 +35,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
if: ${{ success() && github.event_name == 'pull_request' }}
if: ${{ success() && steps.last_release.outputs.tag_name != '' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}