-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abd4e5e
commit 15daa1b
Showing
1 changed file
with
11 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Gathering changed files per commit per historification purposes | ||
name: Scan for vulnerabilities | ||
on: | ||
push: | ||
branches: | ||
|
@@ -16,17 +16,15 @@ jobs: | |
run: | | ||
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
# - name: Build | ||
# uses: docker/build-push-action@v4 | ||
# with: | ||
# context: . | ||
# push: true | ||
# tags: user/app:latest | ||
|
||
- name: Build | ||
uses: docker/build-push-action@v4 | ||
- name: Container Scan | ||
uses: crazy-max/[email protected] | ||
with: | ||
context: . | ||
push: true | ||
tags: user/app:latest | ||
|
||
- name: Scan for vulnerabilities | ||
uses: crazy-max/ghaction-container-scan@v3 | ||
with: | ||
image: user/app:latest | ||
image: ubuntu-latest | ||
|