Skip to content

with a output file

with a output file #2

Workflow file for this run

name: "with a output file"
on:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build an image from Dockerfile
run: |
docker build -t built-image:scan .
- name: Run dockle
uses: goodwithtech/dockle-action@check-options
with:
image: 'built-image:scan'
format: 'json'
output: 'result.json'
exit-code: '0'
exit-level: 'warn'
ignore: 'CIS-DI-0001,DKL-DI-0006'