feat(setup-trivy)!: automatically determine arch #14
@@ -5,17 +5,19 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-setup-trivy:
|
test-setup-trivy:
|
||||||
name: Test Setup Trivy
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [amd64, arm64]
|
||||||
|
name: Test Setup Trivy ${{ matrix.arch }}
|
||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- linux_amd64
|
- linux_${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||||
- name: Setup Trivy
|
- name: Setup Trivy
|
||||||
uses: ./setup-trivy
|
uses: ./setup-trivy
|
||||||
with:
|
with:
|
||||||
version: v0.66.0
|
version: v0.66.0
|
||||||
architecture: amd64
|
|
||||||
- name: Run Trivy
|
- name: Run Trivy
|
||||||
run: trivy --version
|
run: trivy --version
|
||||||
|
|
||||||
@@ -23,13 +25,11 @@ jobs:
|
|||||||
name: Test Setup DB
|
name: Test Setup DB
|
||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- linux_amd64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||||
- uses: ./setup-trivy
|
- uses: ./setup-trivy
|
||||||
with:
|
with:
|
||||||
version: v0.66.0
|
version: v0.66.0
|
||||||
architecture: amd64
|
|
||||||
- name: Setup DB
|
- name: Setup DB
|
||||||
uses: ./setup-db
|
uses: ./setup-db
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user