Skip to content

Check Base Image

Check Base Image #16

name: Check Base Image
on:
schedule:
- cron: '0 0 * * FRI'
workflow_dispatch:
jobs:
check-and-trigger:
runs-on: ubuntu-latest
steps:
- name: Docker Base Image Checker
id: check
uses: mkumatag/[email protected]
with:
base-image: 'library/alpine:3.19'
image: 'dontobi/nextcloud-client.rpi:latest'
- name: Image update
run: echo "Image update required ${{ steps.check.outputs.needs-update }}"
- name: Trigger build
if: steps.check.outputs.needs-update == 'true'
uses: benc-uk/[email protected]
with:
workflow: Build Container
repo: dontobi/nextcloud-client.rpi
token: ${{ secrets.ACTIONS_PAT }}