Skip to content

Commit

Permalink
WIP: run trivy security scans on release docker image/composer depend…
Browse files Browse the repository at this point in the history
…encies
  • Loading branch information
nodiscc committed Aug 27, 2023
1 parent c2127f1 commit fc7aa70
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trivy-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: trivy security scans (release)
on:
schedule:
- cron: '17 0 * * 1'
workflow_dispatch:

jobs:
trivy-repo:
runs-on: ubuntu-latest
name: trivy scan (release composer dependencies)
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run trivy scanner on repository
run: make test_trivy_repo
trivy-docker:
runs-on: ubuntu-latest
name: trivy scan (release docker image)
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run trivy scanner on release docker image
run: make test_trivy_docker TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/shaarli/shaarli:release

0 comments on commit fc7aa70

Please sign in to comment.