test #87

Merged
khwezi merged 2 commits from test into main 2026-04-04 15:10:51 +02:00

View File

@@ -10,7 +10,7 @@ steps:
- name: build-test-publish - name: build-test-publish
image: mcr.microsoft.com/dotnet/sdk:10.0 image: mcr.microsoft.com/dotnet/sdk:10.0
commands: commands:
- dotnet restore - dotnet restore --source https://nexus.khongisa.co.za/repository/nuget-public/ --no-cache
- dotnet build --configuration Release --no-restore - dotnet build --configuration Release --no-restore
- dotnet test --configuration Release --no-build - dotnet test --configuration Release --no-build
- dotnet publish --configuration Release --no-build - dotnet publish --configuration Release --no-build
@@ -32,7 +32,7 @@ steps:
# Set to false once you verify the scan passes, or see the step below # Set to false once you verify the scan passes, or see the step below
- name: vulnerability-scan - name: vulnerability-scan
image: aquasec/trivy image: aquasec/trivy:0.50.1
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: