Skip to content

Commit f88f76a

Browse files
authored
Merge pull request #611 from safedep/container-e2e
feat: added vet scan container e2e
2 parents d5a64a4 + 08e8915 commit f88f76a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Container Scan E2E
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
e2e-scan:
10+
name: E2E Scan on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
16+
steps:
17+
- name: Checkout Source
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
22+
with:
23+
go-version-file: go.mod
24+
25+
- name: Build and Test
26+
run: |
27+
make
28+
29+
- name: Run container scan tests
30+
shell: bash
31+
run: |
32+
./vet scan --image alpine:latest
33+
./vet scan --image ghcr.io/safedep/vet:latest
34+
./vet scan --image node:20

0 commit comments

Comments
 (0)