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
|
name: Build Docker image
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 6 * * 7"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_image:
|
build_image:
|
||||||
name: Build and publish image
|
name: Build and publish image
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
if: env.SCHEDULED == 'true' || !contains(github.event.commits[0].message, '[skip ci]')
|
||||||
|
|
||||||
|
env:
|
||||||
|
SCHEDULED: ${{ github.event_name == 'schedule' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
|
|
@ -17,6 +17,10 @@ was too old.
|
||||||
** npm and nodejs
|
** npm and nodejs
|
||||||
** git
|
** git
|
||||||
|
|
||||||
|
== Updates
|
||||||
|
|
||||||
|
This image is built weekly on sunday at 06:00 EET/EEST on the `archlinux:latest` image.
|
||||||
|
|
||||||
== Installation
|
== Installation
|
||||||
|
|
||||||
* link:https://git.korhonen.cc/FunctionalHacker/-/packages/container/hugo-asciidoc-docker-ci/latest[Download Docker image]
|
* link:https://git.korhonen.cc/FunctionalHacker/-/packages/container/hugo-asciidoc-docker-ci/latest[Download Docker image]
|
||||||
|
|
Reference in a new issue