Skip to content

Commit

Permalink
Comment out the trivy ignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderM91 committed Oct 18, 2024
1 parent 701a210 commit a35a8c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ jobs:
docker push $NEW_TAG
done
# - name: Build for diff and push
# id: docker_build
# uses: docker/build-push-action@v2
# with:
# push: false
# load: true
# file: ${{ matrix.image }}
# tags: ${{ join(matrix.tags) }}
# platforms: "linux/amd64"

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Vulnerability detection
name: ECR vulnerability detection

on:
schedule:
- cron: '0 9 * * *'
push:
branches-ignore:
branches:
- master

jobs:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
"text": "Scanned image tag *${{ matrix.tags }}*.",
"attachments": [
{
"pretext": "Vulnerability scan outputs for ${{ steps.set-date.outputs.current_datetime }}",
"pretext": "ECR vulnerability scan outputs for ${{ steps.set-date.outputs.current_datetime }}",
"color": "${{ steps.set-color.outputs.color }}",
"fields": [
{
Expand Down
2 changes: 1 addition & 1 deletion .trivy/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ severity:
- HIGH
- CRITICAL
exit-code: 1
ignorefile: .trivy/.trivyignore.yaml
#ignorefile: .trivy/.trivyignore.yaml
debug: true

0 comments on commit a35a8c8

Please sign in to comment.