fix: ci pipeline
Some checks failed
Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m17s
Some checks failed
Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m17s
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
# Step 2: Scan the local image with Trivy
|
# Step 2: Scan the local image with Trivy
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: https://github.com/aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
image-ref: 'local_scan_target:${{ github.sha }}'
|
image-ref: 'local_scan_target:${{ github.sha }}'
|
||||||
format: 'table'
|
format: 'table'
|
||||||
@@ -51,7 +51,6 @@ jobs:
|
|||||||
ignore-unfixed: true
|
ignore-unfixed: true
|
||||||
vuln-type: 'os,library'
|
vuln-type: 'os,library'
|
||||||
severity: 'CRITICAL,HIGH'
|
severity: 'CRITICAL,HIGH'
|
||||||
cache: false
|
|
||||||
|
|
||||||
# Step 3: If scan passes, Build and Push to Registry
|
# Step 3: If scan passes, Build and Push to Registry
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user