Skip to content

Commit 4466f39

Browse files
authored
Merge pull request mendhak#19 from mendhak/ghactions-testing
Testing Github Actions
2 parents ed86997 + 1df485b commit 4466f39

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 8 additions & 3 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: CI
3+
name: Build and Test and Scan
44

55
# Controls when the action will run.
66
on: [push, pull_request, workflow_dispatch]
@@ -17,8 +17,13 @@ jobs:
1717
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1818
- uses: actions/checkout@v2
1919

20-
# Runs a single command using the runners shell
21-
- name: Run a one-line script
20+
- name: Build and test the image
2221
run: ./tests.sh
2322

23+
- name: Scan the image
24+
uses: anchore/scan-action@v2
25+
with:
26+
image: "mendhak/http-https-echo:latest"
27+
debug: false
28+
2429

0 commit comments

Comments
 (0)