From abe5f37dc0435b25feccb0cbcaf676d055da2973 Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 8 Mar 2026 13:18:11 +0200 Subject: [PATCH] Moved back the package step to package stage --- .drone.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 212eac4..d69abbe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,11 +26,6 @@ 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: | @@ -55,13 +50,12 @@ trigger: clone: disable: true -steps: - - name: checkout - image: alpine/git +steps: + - name: dotnet publish + image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - - git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git . - - git checkout ${DRONE_COMMIT} - + - dotnet publish --configuration Release + - name: build and push image: gcr.io/kaniko-project/executor:debug environment: