Skip to content

Commit

Permalink
Fix Github workflow scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed Oct 4, 2023
1 parent 973049f commit 7b308ea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker.build.onpush.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Build Docker Image on tag
on:
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'

jobs:
build:
uses: ./.github/workflows/docker.build.yaml
10 changes: 3 additions & 7 deletions .github/workflows/docker.build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Build Docker Image
name: Build Docker Image daily
on:
workflow_call:
schedule:
- cron: '30 0 * * *'
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'
- cron: '35 0 * * *'

jobs:
build:
Expand Down

0 comments on commit 7b308ea

Please sign in to comment.