fix grype scan
This commit is contained in:
parent
3bf7411491
commit
5aa4a70bd3
@ -1486,13 +1486,13 @@ jobs:
|
||||
# Build and scan Dockerfile.database
|
||||
echo "Building and scanning Dockerfile.database..."
|
||||
docker build -t litellm-database:latest -f ./docker/Dockerfile.database .
|
||||
grype litellm-database:latest --fail-on high
|
||||
grype litellm-database:latest --fail-on critical
|
||||
|
||||
|
||||
# Build and scan main Dockerfile
|
||||
echo "Building and scanning main Dockerfile..."
|
||||
docker build -t litellm:latest .
|
||||
grype litellm:latest --fail-on high
|
||||
grype litellm:latest --fail-on critical
|
||||
- run:
|
||||
name: Build Docker image
|
||||
command: docker build -t my-app:latest -f ./docker/Dockerfile.database .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user