test #91

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

View File

@@ -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: