Skip to content

Commit f4d87ab

Browse files
committed
Update image when triggered via schedules pipeline
1 parent 02d326e commit f4d87ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
sarif_file: 'trivy-results.sarif'
5454

5555
- name: Login to Docker Hub
56-
if: (github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule' ) || contains(github.ref, 'refs/tags/')
56+
if: (github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule' )) || contains(github.ref, 'refs/tags/')
5757
uses: docker/login-action@v2
5858
with:
5959
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 commit comments

Comments
 (0)