fix: add user/pass to trivy workflow
Some checks failed
Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m27s
Some checks failed
Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m27s
This commit is contained in:
@@ -51,6 +51,9 @@ jobs:
|
|||||||
ignore-unfixed: true
|
ignore-unfixed: true
|
||||||
vuln-type: 'os,library'
|
vuln-type: 'os,library'
|
||||||
severity: 'CRITICAL,HIGH'
|
severity: 'CRITICAL,HIGH'
|
||||||
|
env:
|
||||||
|
- TRIVY_USERNAME: ${{ secrets.PACKAGE_USER }}
|
||||||
|
- TRIVY_PASSWORD: ${{ secrets.PACKAGE_TOKEN }}
|
||||||
|
|
||||||
# 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