Helm chart image tag check #1524
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: Helm chart image tag check | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 */12 * * *" | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Download "helm-chart-update-check" | |
| uses: engineerd/configurator@v0.0.10 | |
| with: | |
| name: "hcuc" | |
| fromGitHubReleases: "true" | |
| repo: "pmoscode/helm-chart-update-check" | |
| urlTemplate: "https://github.com/pmoscode/helm-chart-update-check/releases/download/{{version}}/hcuc-{{version}}-linux-amd64.tar.gz" | |
| version: ${{ vars.HCUC_BINARY_VERSION }} | |
| pathInArchive: "hcuc" | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check for updates | |
| run: | | |
| hcuc --docker-hub-repo gotify/server --fail-on-update --debug | |
| - name: Send notification | |
| if: failure() | |
| env: | |
| MAILJET_KEY: ${{ secrets.MAILJET_KEY }} | |
| MAILJET_SECRET: ${{ secrets.MAILJET_SECRET }} | |
| MAILJET_FROM_MAIL: ${{ vars.MAILJET_FROM_MAIL }} | |
| MAILJET_TO_MAIL: ${{ vars.MAILJET_TO_MAIL }} | |
| MAILJET_SUBJECT: ${{ vars.MAILJET_SUBJECT }} | |
| run: | | |
| ./pipeline/send_mail.sh |