Check Docker images updates on cron #42
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 Docker images updates on cron | |
| on: | |
| #schedule: | |
| # Esegui ogni giorno alle 04:00 UTC per controllare gli aggiornamenti. | |
| #- cron: '0 4 * * *' | |
| workflow_dispatch: | |
| inputs: | |
| force-build: | |
| description: 'Forza la generazione delle immagini?' | |
| required: true | |
| default: "false" | |
| type: choice | |
| options: | |
| - "true" | |
| - "false" | |
| permissions: | |
| contents: write | |
| packages: write | |
| actions: write | |
| jobs: | |
| build-image: | |
| uses: Neomediatech/gh-workflows/.github/workflows/build-docker-image-bulk.yml@main | |
| with: | |
| base-image: php | |
| package-name: neomediatech/php | |
| derived-image-prefix: ghcr.io/neomediatech/php | |
| force-build: "${{ github.event.inputs.force-build }}" | |
| update-image: "true" | |
| package-to-check: "PHP_VERSION" | |
| image-type: "meta" | |
| secrets: | |
| NOTIFY_CMD: ${{ secrets.NOTIFY_CMD }} | |
| NOTIFY_UP: ${{ secrets.NOTIFY_UP }} | |
| NOTIFY_ENDPOINT: ${{ secrets.NOTIFY_ENDPOINT }} | |
| NOTIFY_OPTIONS: ${{ secrets.NOTIFY_OPTIONS }} | |
| GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
| DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |