From 8914856c0cdebb4f51cf6340362deaafc60e2a68 Mon Sep 17 00:00:00 2001 From: Elliot Matson <1711604+elliotmatson@users.noreply.github.com> Date: Tue, 31 Jan 2023 21:16:53 -0600 Subject: [PATCH] Update docker.yml --- .github/workflows/docker.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5e21daa..d59fb54 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -25,6 +25,7 @@ jobs: build-and-push-image: runs-on: ubuntu-latest permissions: + security-events: write contents: read packages: write @@ -73,12 +74,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - security-scan: - runs-on: ubuntu-latest - permissions: - security-events: write - needs: build-and-push-image - steps: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: