Skip to content

Commit

Permalink
Issue #3448: add workflow that checks for base image updates
Browse files Browse the repository at this point in the history
note that scheduled workflows only run on the default branch
  • Loading branch information
bschmalhofer committed Jun 14, 2024
1 parent 5191351 commit e9ab2f1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker_image_update_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
%YAML 1.1
---
# Adapted from https://github.com/marketplace/actions/docker-image-update-checker#minimal
name: Docker Image Update Checker

# run daily, time is in UTC, scheduled jobs run only on the default branch
on:
schedule:
- cron: '52 9 * * *'

jobs:
docker:
steps:

- name: Check if update available
id: check
uses: lucacome/docker-image-update-checker@v1
with:
base-image: perl:5.38-bookworm
image: rotheross/otobo:latest-11_0

- name: Report check result
run: 'echo "The OTOBO web image needs updating: ${{ steps.check.outputs.needs-updating }}"'

0 comments on commit e9ab2f1

Please sign in to comment.