Skip to content

Audit

Audit #91

Workflow file for this run

name: Audit
on:
workflow_dispatch:
push:
schedule:
- cron: 0 0 * * 4 # Midnight Wednesday
jobs:
audit:
name: 👮 audit
strategy:
fail-fast: false
matrix:
DOCKER_TARGET_PLATFORM: [
# linux/arm, # Disabled whilst waiting for next release of trivy with published arm artefacts
linux/arm64,
linux/amd64
]
runs-on: ubuntu-latest
env:
DOCKER_TARGET_PLATFORM: ${{ matrix.DOCKER_TARGET_PLATFORM }}
TAG: latest
steps:
- uses: actions/checkout@v3
- name: Prepare Docker multi-arch builder for ${{ matrix.DOCKER_TARGET_PLATFORM }}
if: ${{ matrix.DOCKER_TARGET_PLATFORM }} == 'linux/arm' || 'linux/arm64'
run: ./script/release-workflow/docker-prepare.sh
- name: Audit Docker image for ${{ matrix.DOCKER_TARGET_PLATFORM }}
run: ./script/release-workflow/audit.sh