Merge pull request 'MOved donet package step to build stage' (#49) from test into main
Reviewed-on: #49
This commit was merged in pull request #49.
This commit is contained in:
@@ -27,6 +27,10 @@ steps:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user