Skip to content

Commit

Permalink
ci: add docker scan (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored May 20, 2024
1 parent d9ce3d2 commit 024fe21
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ragstack-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,17 @@ jobs:
token: ${{ secrets.TESTS_ASTRA_DEV_DB_TOKEN }}
name: ${{ steps.astra.outputs.name }}
wait: false

docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker
run: ./ragstack/docker/build-backend.sh
- name: Scan Docker image
uses: snyk/actions/docker@master
with:
image: ragstack-ai-langflow-backend:latest
args: --severity-threshold=high
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit 024fe21

Please sign in to comment.