From 46606e33509e5a42ee46e4ea14f8a565c9043e9d Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 8 Mar 2026 13:09:47 +0200 Subject: [PATCH] MOved donet package step to build stage --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index dfb041c..7b27d4b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,11 @@ steps: image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - 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 DOCKER_AUTH_CONFIG: | @@ -58,11 +62,6 @@ steps: - git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git . - git checkout ${DRONE_COMMIT} - - name: dotnet publish - image: mcr.microsoft.com/dotnet/sdk:8.0 - commands: - - dotnet publish --configuration Release - - name: build and push image: gcr.io/kaniko-project/executor:debug environment: