Merge pull request #208 from pact-foundation/dependabot/docker/ruby-3… #239
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: | |
schedule: | |
- cron: 0 0 * * 4 # Midnight Wednesday | |
jobs: | |
audit: | |
name: 👮 cross-audit | |
strategy: | |
fail-fast: false | |
matrix: | |
DOCKER_TARGET_PLATFORM: [linux/arm64, linux/amd64] | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_TARGET_PLATFORM: ${{ matrix.DOCKER_TARGET_PLATFORM }} | |
TAG: "latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 |