Skip to content

Commit

Permalink
chore: Debugging part added for auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Seha Artuç committed May 28, 2024
1 parent 3b8ad7b commit d261f9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/weekly_vuln_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Docker
run: |
sudo service docker start
docker info
docker ps
- name: Login to GitHub Container Registry
run: |
Expand Down Expand Up @@ -51,9 +51,10 @@ jobs:
for TAG in "${TAGS[@]}"
do
IMAGE_TAG="ghcr.io/genomicdatainfrastructure/gdi-userportal-frontend:$TAG"
echo "Pulling and scanning $IMAGE_TAG"
echo "Pulling $IMAGE_TAG"
docker pull $IMAGE_TAG || exit 1
docker run --rm aquasec/trivy:latest image --severity CRITICAL,HIGH --exit-code 1 "$IMAGE_TAG" || exit 1
echo "Scanning $IMAGE_TAG with Trivy"
trivy image --severity CRITICAL,HIGH --exit-code 1 "$IMAGE_TAG" || exit 1
done
- name: OSS Review Toolkit (ORT) Analysis
Expand Down

0 comments on commit d261f9b

Please sign in to comment.