Check Base Image #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |