Merge pull request 'test' (#91) from test into main
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #91
This commit was merged in pull request #91.
This commit is contained in:
@@ -8,7 +8,7 @@ clone:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-test-publish
|
- name: build-test-publish
|
||||||
image: nexus.khongisa.co.za/mcr.microsoft.com/dotnet/sdk:10.0
|
image: nexus.khongisa.co.za/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet restore --source https://nexus.khongisa.co.za/repository/nuget-group/index.json --no-cache
|
- dotnet restore --source https://nexus.khongisa.co.za/repository/nuget-group/index.json --no-cache
|
||||||
- dotnet build --configuration Release --no-restore
|
- dotnet build --configuration Release --no-restore
|
||||||
@@ -43,7 +43,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
|
||||||
- name: vulnerability-scan
|
- name: vulnerability-scan
|
||||||
image: nexus.khongisa.co.za/aquasec/trivy:0.50.1
|
image: nexus.khongisa.co.za/trivy:latest
|
||||||
environment:
|
environment:
|
||||||
# Trivy needs these to pull the image from your Nexus to scan it
|
# Trivy needs these to pull the image from your Nexus to scan it
|
||||||
TRIVY_USERNAME:
|
TRIVY_USERNAME:
|
||||||
|
|||||||
Reference in New Issue
Block a user