Skip to content

Commit 6e38c9d

Browse files
authored
chore(ci): Verify building of cross images for PRs (#5910)
1 parent c052174 commit 6e38c9d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/push-cross-images.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
paths:
66
- '.github/workflows/push-cross-images.yml'
77
- 'rust/cubestore/cross/**'
8+
branches:
9+
- 'master'
10+
pull_request:
11+
paths:
12+
- '.github/workflows/push-cross-images.yml'
13+
- 'rust/cubestore/cross/**'
814

915
jobs:
1016
docker-dev:
@@ -22,6 +28,7 @@ jobs:
2228
- name: Checkout
2329
uses: actions/checkout@v2
2430
- name: Login to DockerHub
31+
if: ${{ github.ref == 'refs/heads/master' }}
2532
uses: docker/login-action@v1
2633
with:
2734
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 commit comments

Comments
 (0)