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: