From 952badeccfd69f0c8730f52e996babf0fac4849b Mon Sep 17 00:00:00 2001 From: Ryan Knauer Date: Sun, 2 Jun 2024 01:05:15 -0400 Subject: [PATCH] Update cicd.yaml --- .github/workflows/cicd.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 7e135a8..4821c91 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -39,13 +39,10 @@ jobs: run: | docker build --no-cache -t ${IMAGE_NAME} -t localimage:localtag . - - name: Lacework scan - uses: lacework/lw-scanner-action@v1.4.1 + - name: Run Trivy vulnerability scanner + uses: aquasecurity/trivy-action@0.20.0 with: - LW_ACCOUNT_NAME: ${{ secrets.LW_ACCOUNT_NAME }} - LW_ACCESS_TOKEN: ${{ secrets.LW_ACCESS_TOKEN }} - IMAGE_NAME: localimage - IMAGE_TAG: localtag + image-ref: 'localimage:localtag' - name: Publish to Quay on Master if: github.event.pull_request.merged == true