Some checks failed
continuous-integration/drone/push Build is failing
26 lines
513 B
YAML
26 lines
513 B
YAML
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.devops.cargostart.tech/my-weather-api
|
|
tags: latest
|
|
username:
|
|
from_secret: registry_username
|
|
password:
|
|
from_secret: registry_password
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|