Files
schengen-visa/.drone.yml
prtsie a5f54f485c
Some checks failed
continuous-integration/drone/push Build is failing
Перенёс Dockerfile
2025-10-30 13:32:48 +03:00

35 lines
654 B
YAML

kind: pipeline
type: docker
name: "Backend"
steps:
- name: test
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet build
- dotnet test
- name: publish
image: plugins/docker
settings:
username: prtsie
password:
from_secret: docker_pass
dockerfile: ApplicationLayer/Dockerfile
registry: git.prtsie.ru
repo: git.prtsie.ru/prtsie/schengen-visa-${DRONE_BRANCH}
tags:
- latest
- name: deploy
image: appleboy/drone-ssh
settings:
script_stop: true
host: prtsie.ru:1337
username: deploy
key:
from_secret: ssh_key
script:
- cd /deploy
- ./deploy.sh ${DRONE_BRANCH}