Skip to content

Update python:3.12.1-slim-bookworm Docker digest to ee9a59c (#106) #89

Update python:3.12.1-slim-bookworm Docker digest to ee9a59c (#106)

Update python:3.12.1-slim-bookworm Docker digest to ee9a59c (#106) #89

Workflow file for this run

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/checkout@v4.1.1
- name: Validate ${{ matrix.file }}
uses: hadolint/hadolint-action@v3.1.0
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/upload-sarif@v3.23.0
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