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
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: |
@@ -56,11 +51,10 @@ clone:
disable: true
steps:
- name: checkout
image: alpine/git
- 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