Skip to content

Commit 72b92d0

Browse files
committed
Add anchore scan as part of build
1 parent b87b342 commit 72b92d0

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: Tests
3+
name: Build and Test and Scan
44

55
# Controls when the action will run.
66
on:
@@ -26,7 +26,12 @@ jobs:
2626
- uses: actions/checkout@v2
2727

2828
# Runs a single command using the runners shell
29-
- name: Run the tests script
29+
- name: Run the build and test script
3030
run: ./tests.sh
3131

32+
- name: Scan image
33+
uses: anchore/scan-action@v2
34+
with:
35+
image: "mendhak/http-https-echo:latest"
36+
3237

0 commit comments

Comments
 (0)