Skip to content

Commit

Permalink
feat #241: run vulnerability check
Browse files Browse the repository at this point in the history
Signed-off-by: SurabhiAngadi <[email protected]>
  • Loading branch information
SurabhiAngadi committed Jan 18, 2024
1 parent 8088196 commit 888b13e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Obsrv api service build and deploy workflow
name: Obsrv API Service Build and Deploy workflow
run-name: Workflow run for ${{ github.ref }}
on:
push:
tags:
- '*'
- "*"
workflow_dispatch:
inputs:
aws-deploy:
Expand All @@ -14,7 +14,6 @@ on:
types:
- opened
- synchronize

jobs:
check-tag:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,7 +68,9 @@ jobs:
image-ref: ${{ vars.DOCKERHUB_USERNAME }}/obsrv-api-service:${{ github.ref_name }}
format: 'table'
exit-code: '1'
ignore-unfixed: true
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH
docker-build-command-service:
needs: check-tag
Expand Down

0 comments on commit 888b13e

Please sign in to comment.