Skip Docker Hub login step on pull_request events
Agent-Logs-Url: https://github.com/gabriel20xx/CollabTable/sessions/aef8ec67-fa60-4789-b968-81db2b5c793c Co-authored-by: gabriel20xx <21219769+gabriel20xx@users.noreply.github.com>
This commit is contained in:
co-authored by
gabriel20xx
parent
94382573d0
commit
a896ae8209
@@ -17,6 +17,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
|
||||
Reference in New Issue
Block a user