fix(ci): skip GitHub Container Registry login on pull requests

This commit is contained in:
Sergey Krashevich
2024-05-30 11:48:15 +03:00
parent aa86c1ec25
commit 79245eeff4
+1
View File
@@ -145,6 +145,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io