Merge pull request #25 from uta8a/renovate/all-dependencies #65
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: Image Hash Check | |
| on: | |
| push: | |
| paths: | |
| - '**/compose.yaml' | |
| - '**/docker-compose.yml' | |
| - '.github/workflows/image-hash-check.yml' | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - '**/compose.yaml' | |
| - '**/docker-compose.yml' | |
| - '.github/workflows/image-hash-check.yml' | |
| jobs: | |
| check-hash: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3 | |
| - name: Check image hashes | |
| run: | | |
| chmod +x ./scripts/check-unfixed-imagehash.sh | |
| # Find all compose files and check them | |
| find . -type f \( -name "compose.yaml" -o -name "docker-compose.yml" \) | while read -r file; do | |
| echo "Checking $file" | |
| ./scripts/check-unfixed-imagehash.sh "$file" | |
| done |