Skip to content

Commit

Permalink
Scan - 2nd test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontalvoy committed Dec 5, 2023
1 parent abd4e5e commit 15daa1b
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/changedFiles.yml
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:
Expand All @@ -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

0 comments on commit 15daa1b

Please sign in to comment.