Files
webapitest/.drone.yml
2026-03-07 11:35:01 +02:00

24 lines
603 B
YAML

---
kind: pipeline
type: docker
name: package
steps:
- name: dotnet publish
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet publish --configuration Release
- ls ./SampleApi/bin/Release/net8.0/publish/
- name: docker build and push
image: plugins/docker
settings:
repo: gitea.khongisa.co.za/khwezi/sampleapi
registry: gitea.khongisa.co.za
insecure: false
username:
from_secret: gitea-username
password:
from_secret: gitea-token
dockerfile: Dockerfile
context: ./SampleApi/bin/Release/net8.0/publish/