Files
webapitest/.drone.yml

20 lines
453 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: 192.168.1.172/khwezi/sampleapi
registry: 192.168.1.173:3005
insecure: true
dockerfile: Dockerfile
context: .