Update python:3.12.0-alpine Docker digest to 1d688a3 #35
Workflow file for this run
This file contains 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: Hadolint | |
on: | |
push: | |
paths: | |
- Dockerfile | |
- Dockerfile.debian | |
permissions: | |
contents: read | |
jobs: | |
hadolint: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
strategy: | |
matrix: | |
file: [Dockerfile, Dockerfile.debian] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Validate ${{ matrix.file }} | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: ${{ matrix.file }} | |
no-fail: true | |
verbose: true | |
format: sarif | |
output-file: ${{ matrix.file }}.sarif | |
- name: Upload Hadolint results of ${{ matrix.file }} | |
uses: github/codeql-action/[email protected] | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: ${{ matrix.file }}.sarif | |
# Optional category for the results | |
# Used to differentiate multiple results for one commit | |
category: hadolint-${{ matrix.file }}-validation |