Skip to content

chore(deps): update actions/checkout action to v4 #76

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #76

Workflow file for this run

name: Tests
on: push
jobs:
# <---------------- TEST BASIC CONFIG ------------------>
basic-pass:
name: Basic success condition
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Basic Test
uses: ./
with:
image: alpine:latest
accept-extensions: pem
exit-code: 0
report-name: basic-success
- name: Upload Reports
uses: actions/upload-artifact@v3
if: always()
with:
name: Basic Success Report
path: basic-success.json
# <--------------- TEST ADVANCED CONFIG ---------------->
advanced:
name: Advanced
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Advanced Test
uses: ./
with:
image: alpine:latest
report-format: sarif
report-name: dockle
failure-threshold: fatal
exit-code: 0
dockle-version: 0.4.13
accept-extensions: pem
- name: Upload Reports
uses: actions/upload-artifact@v3
if: always()
with:
name: SARIF Report
path: dockle.sarif