MOved donet package step to build stage

This commit is contained in:
2026-03-08 13:09:47 +02:00
parent 3887cd4843
commit 46606e3350

View File

@@ -26,7 +26,11 @@ steps:
image: mcr.microsoft.com/dotnet/sdk:8.0 image: mcr.microsoft.com/dotnet/sdk:8.0
commands: commands:
- dotnet test --configuration Release - dotnet test --configuration Release
- name: dotnet publish
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet publish --configuration Release
--- ---
x-docker-auth: &docker-auth x-docker-auth: &docker-auth
DOCKER_AUTH_CONFIG: | DOCKER_AUTH_CONFIG: |
@@ -58,11 +62,6 @@ steps:
- git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git . - git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git .
- git checkout ${DRONE_COMMIT} - git checkout ${DRONE_COMMIT}
- name: dotnet publish
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet publish --configuration Release
- name: build and push - name: build and push
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
environment: environment: