Add scheduled weekly build
All checks were successful
Build Docker image / Build and publish image (push) Successful in 3m17s
All checks were successful
Build Docker image / Build and publish image (push) Successful in 3m17s
This commit is contained in:
parent
8143dabd09
commit
8f78963464
2 changed files with 12 additions and 1 deletions
|
@ -1,11 +1,18 @@
|
|||
name: Build Docker image
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: "0 6 * * 7"
|
||||
|
||||
jobs:
|
||||
build_image:
|
||||
name: Build and publish image
|
||||
runs-on: docker
|
||||
if: env.SCHEDULED == 'true' || !contains(github.event.commits[0].message, '[skip ci]')
|
||||
|
||||
env:
|
||||
SCHEDULED: ${{ github.event_name == 'schedule' }}
|
||||
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
|
|
Reference in a new issue