This commit is contained in:
parent
231fa4e93e
commit
c7f57d578d
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
- cron: '0 23 * * *'
|
||||
jobs:
|
||||
build_image:
|
||||
name: Build image
|
||||
env:
|
||||
VERSION: 1.21
|
||||
FORGEJO_VERSION: 1.21
|
||||
SCHEDULED: ${{ github.event_name == 'schedule' }}
|
||||
PUSHED: ${{ github.event_name == 'push' }}
|
||||
REGISTRY: git.korhonen.cc
|
||||
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Check if update available
|
||||
if: env.SCHEDULED
|
||||
id: check
|
||||
uses: https://github.com/lucacome/docker-image-update-checker@v1
|
||||
uses: https://github.com/giggio/docker-image-update-checker@v2
|
||||
with:
|
||||
base-image: codeberg.org/forgejo/forgejo:${{ env.FORGEJO_VERSION }}
|
||||
image: ${{ env.REPO }}:latest
|
||||
|
|
Loading…
Reference in a new issue