Skip to content

Commit 8072d57

Browse files
committed
CM-52584 - Fix docker image building on PRs from outside contributors
1 parent dd321bf commit 8072d57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
uses: docker/setup-buildx-action@v3
6565

6666
- name: Login to Docker Hub
67+
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }}
6768
uses: docker/login-action@v3
6869
with:
6970
username: ${{ secrets.DOCKERHUB_USER }}

0 commit comments

Comments
 (0)