From 15daa1b09baa7dc44c1289f7e4a00d4fafc13aba Mon Sep 17 00:00:00 2001 From: German Montalvo Yebenes Date: Tue, 5 Dec 2023 06:44:36 +0100 Subject: [PATCH] Scan - 2nd test --- .github/workflows/changedFiles.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/changedFiles.yml b/.github/workflows/changedFiles.yml index 537b158..1d6a081 100644 --- a/.github/workflows/changedFiles.yml +++ b/.github/workflows/changedFiles.yml @@ -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/ghaction-container-scan@v3.0.0 with: - context: . - push: true - tags: user/app:latest - - - name: Scan for vulnerabilities - uses: crazy-max/ghaction-container-scan@v3 - with: - image: user/app:latest \ No newline at end of file + image: ubuntu-latest + \ No newline at end of file