Moved back the package step to package stage #51
16
.drone.yml
16
.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:
|
||||
|
||||
Reference in New Issue
Block a user