Fix cron and codeberg registry not working
Some checks failed
/ Build image (push) Failing after 4s

This commit is contained in:
Marko Korhonen 2024-02-25 00:24:46 +02:00
parent 231fa4e93e
commit c7f57d578d
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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