chore(deps): update docker.io/rancher/k3s docker tag to v1.34.2 #499
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: Docker Image Scan | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| tags: | |
| - "v*.*.*" | |
| pull_request: | |
| branches: | |
| - "master" | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| name: Setup Golang | |
| with: | |
| go-version: "1.25" | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build images | |
| shell: bash | |
| run: | | |
| make docker-build-notest | |
| - name: Anchore Scanner | |
| uses: anchore/scan-action@v7 | |
| id: grype-scan | |
| with: | |
| image: controller:latest | |
| fail-build: true | |
| severity-cutoff: high | |
| debug: false | |
| acs-report-enable: true | |
| - name: Anchore upload scan SARIF report | |
| if: always() | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: ${{ steps.grype-scan.outputs.sarif }} | |
| - name: Trivy Scanner | |
| uses: aquasecurity/trivy-action@master | |
| if: ${{ always() }} | |
| with: | |
| image-ref: controller:latest | |
| format: "table" | |
| exit-code: "42" | |
| ignore-unfixed: true | |
| vuln-type: "os,library" | |
| severity: "CRITICAL,HIGH" | |
| - name: Dockle Linter | |
| uses: erzz/dockle-action@v1.4.0 | |
| if: ${{ always() }} | |
| with: | |
| image: controller:latest | |
| exit-code: 42 | |
| failure-threshold: fatal |