This commit is contained in:
@ -6,7 +6,6 @@ steps:
|
|||||||
- name: trivy-scan
|
- name: trivy-scan
|
||||||
image: aquasec/trivy:latest
|
image: aquasec/trivy:latest
|
||||||
commands:
|
commands:
|
||||||
- export TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db:2
|
|
||||||
- trivy fs --scanners vuln,config --exit-code 1 --ignorefile .trivyignore --severity HIGH,CRITICAL frontend/
|
- trivy fs --scanners vuln,config --exit-code 1 --ignorefile .trivyignore --severity HIGH,CRITICAL frontend/
|
||||||
|
|
||||||
- name: lint-frontend
|
- name: lint-frontend
|
||||||
@ -21,7 +20,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
registry:
|
registry:
|
||||||
from_secret: docker_registry
|
from_secret: docker_registry
|
||||||
repo: ${DOCKER_REGISTRY}/portfolio
|
repo: ${DOCKER_REGISTRY}/taqi/portfolio
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- 1.0.0-${CI_PIPELINE_NUMBER} # Ref: https://woodpecker-ci.org/docs/usage/environment
|
- 1.0.0-${CI_PIPELINE_NUMBER} # Ref: https://woodpecker-ci.org/docs/usage/environment
|
||||||
@ -33,3 +32,5 @@ steps:
|
|||||||
from_secret: docker-username
|
from_secret: docker-username
|
||||||
password:
|
password:
|
||||||
from_secret: docker-password
|
from_secret: docker-password
|
||||||
|
DOCKER_REGISTRY:
|
||||||
|
from_secret: docker_registry
|
||||||
|
|||||||
Reference in New Issue
Block a user