Skip to content

Commit

Permalink
Make docker images scanner weekly and triggered on allowed images update
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Oct 27, 2023
1 parent e8e9b02 commit b184cc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/scan-docker-images-skip.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/scan-docker-images.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: "Scan docker images from the allowed docker images list"

on:
# we should run this job if somebody wants to add/update allowed docker images
pull_request:
paths-ignore:
- '**.md'
- 'library-and-framework-list*.json'
paths:
- 'tests/tck-build-logic/src/main/resources/allowed-docker-images'
# we should run this job once a week to check if new vulnerabilities are found in existing images
schedule:
- chron: "0 0 * * 6"

jobs:
scan-images:
Expand Down

0 comments on commit b184cc1

Please sign in to comment.