Merge pull request #145 from pact-foundation/ci/fix_build #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Audit | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: 0 0 * * 4 # Midnight Wednesday | |
jobs: | |
audit: | |
name: 👮 audit | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, ubuntu-24.04-arm ] | |
runs-on: ${{ matrix.os }} | |
env: | |
TAG: latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Audit Docker image for amd64 | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: ./script/release-workflow/audit.sh | |
env: | |
DOCKER_TARGET_PLATFORM: linux/amd64 | |
- name: Audit Docker image for arm64 | |
if: ${{ matrix.os == 'ubuntu-24.04-arm' }} | |
run: ./script/release-workflow/audit.sh | |
env: | |
DOCKER_TARGET_PLATFORM: linux/arm64 |