Skip to content

Bump actions/checkout from 4.1.0 to 4.2.0 #164

Bump actions/checkout from 4.1.0 to 4.2.0

Bump actions/checkout from 4.1.0 to 4.2.0 #164

Workflow file for this run

name: Lint Dockerfile
on: [push, pull_request, workflow_dispatch]
jobs:
hadolint:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: Run hadolint
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf
with:
dockerfile: Dockerfile
dockle:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: Build an image from the Dockerfile
run: |
docker build -t built-image:scan .
- name: Run dockle
uses: goodwithtech/dockle-action@11c82d478fec09ed1aa56d933eab25218e22bb90
with:
image: 'built-image:scan'
format: 'list'
exit-code: '1'
exit-level: 'warn'
accept-key: 'PATH'