Skip to content

Commit 2cc6690

Browse files
authored
feat: Add cronjob (#6)
1 parent c6517ab commit 2cc6690

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- 'src/dockerfiles/**'
99
branches:
1010
- main
11+
schedule:
12+
- cron: '30 10 * * 1'
1113
push:
1214
paths:
1315
- '.github/**'
@@ -76,7 +78,7 @@ jobs:
7678
context: ./src/dockerfiles/${{ matrix.image }}
7779
file: ./src/dockerfiles/${{ matrix.image }}/Dockerfile
7880
platforms: ${{ matrix.platform }}
79-
push: ${{ github.event_name != 'pull_request' }}
81+
push: ${{ ! github.event_name == 'pull_request' }}
8082
tags: ${{ steps.meta.outputs.tags }}
8183
labels: ${{ steps.meta.outputs.labels }}
8284
cache-from: type=gha

0 commit comments

Comments
 (0)