build(deps): bump docker/setup-qemu-action from 3 to 4 #106
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: PR checks | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| pr: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [ "8.1", "8.2", "8.3", "8.4" ] | |
| name: ${{ matrix.version }} | |
| runs-on: ubuntu-latest | |
| env: | |
| VERSION: ${{ matrix.version }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Docker Hub | |
| # Optional: avoids pull rate limits. Not available on fork PRs — that's fine. | |
| uses: docker/login-action@v3 | |
| continue-on-error: true | |
| with: | |
| username: ${{ secrets.REGISTRY_USERNAME }} | |
| password: ${{ secrets.REGISTRY_PASSWORD }} | |
| - name: Build | |
| run: ARCHS="linux/amd64" make build | |
| - name: Trivy vulnerability scan (main image) | |
| uses: aquasecurity/trivy-action@0.29.0 | |
| with: | |
| image-ref: jorge07/alpine-php:${{ matrix.version }} | |
| format: table | |
| exit-code: "1" | |
| ignore-unfixed: true | |
| vuln-type: os,library | |
| severity: CRITICAL | |
| - name: Test Main | |
| run: make test-main | |
| - name: Test Dev | |
| run: make test-dev |