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