diff --git a/.github/workflows/docker.build.onpush.yaml b/.github/workflows/docker.build.onpush.yaml new file mode 100644 index 0000000..6f709a0 --- /dev/null +++ b/.github/workflows/docker.build.onpush.yaml @@ -0,0 +1,11 @@ +name: Build Docker Image on tag +on: + push: + branches-ignore: + - '**' + tags: + - 'v*.*.*' + +jobs: + build: + uses: ./.github/workflows/docker.build.yaml \ No newline at end of file diff --git a/.github/workflows/docker.build.yaml b/.github/workflows/docker.build.yaml index a91d726..dccb9a0 100644 --- a/.github/workflows/docker.build.yaml +++ b/.github/workflows/docker.build.yaml @@ -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: