Added Drone Config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-08-30 17:42:40 +02:00
parent 4ba7ac8948
commit 0402e4ea8c

25
.drone.yml Normal file
View File

@@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:7.0
commands:
- dotnet publish -c Release -o ./publish
- name: image
image: plugins/docker
settings:
registry: registry.devops.cargostart.tech
repo: registry.sw.dockerswarm.rocks/my-weather-api
tags: latest
username:
from_secret: registry_username
password:
from_secret: registry_password
trigger:
event:
- push
- pull_request