Skip to content

Commit

Permalink
img scan added
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadesh Kale committed Jan 5, 2024
1 parent 3ee75d9 commit bfd6da7
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: create a custom tag
run: echo "IMG_TAG=$(echo $GITHUB_SHA | cut -c 1-6)"-$job_id >> $GITHUB_ENV

- name: tag
run: echo "$IMG_TAG"


# export IMG_TAG="$sha" | cut -c1-6

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -33,3 +27,14 @@ jobs:
with:
push: false
tags: welcome-app:${{ env.IMG_TAG }}, welcome-app:${{ env.sha }}

# Image Scan
- name: KSOC Image Scan
uses: ksoclabs/[email protected]
with:
fail_on_severity: medium
ignore_cves: |
CVE-2021-1234
CVE-2021-5678
image: localbuild/testimage:latest

0 comments on commit bfd6da7

Please sign in to comment.