Skip to content

feat: add in pytorch base image #8

feat: add in pytorch base image

feat: add in pytorch base image #8

Workflow file for this run

name: Lint
on: pull_request
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Find Dockerfiles
id: scan
run: echo "dockerfiles=$(find . -name Dockerfile | cut -c3- | jq -R -s -c 'split("\n")[:-1]')" >> "$GITHUB_OUTPUT"
outputs:
dockerfiles: ${{ steps.scan.outputs.dockerfiles }}
lint:
runs-on: ubuntu-latest
needs: [setup]
strategy:
fail-fast: false
matrix:
dockerfile: ${{ fromJSON(needs.setup.outputs.dockerfiles) }}
steps:
- uses: actions/checkout@v4
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # [email protected]
with:
dockerfile: ${{ matrix.dockerfile }}
ignore: DL3008,DL3016,DL3033