Moved back the package step to package stage

This commit is contained in:
2026-03-08 13:18:11 +02:00
parent 41d757a5e2
commit abe5f37dc0

View File

@@ -26,11 +26,6 @@ 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: |
@@ -55,13 +50,12 @@ trigger:
clone: clone:
disable: true disable: true
steps: steps:
- name: checkout - name: dotnet publish
image: alpine/git image: mcr.microsoft.com/dotnet/sdk:8.0
commands: commands:
- git clone https://gitea.khongisa.co.za/MngomaLab/webapitest.git . - dotnet publish --configuration Release
- git checkout ${DRONE_COMMIT}
- name: build and push - name: build and push
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
environment: environment: