Files
stream-cinema/.drone.yml
Roman Vanicek 931658b172
Some checks failed
continuous-integration/drone/push Build is failing
Remove ILRepack.Lib.MSBuild.Task hack
2025-04-14 06:38:46 +00:00

39 lines
1015 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:9.0
commands:
- dotnet build --configuration Release CinemaJellyfin/CinemaJellyfin.csproj
- dotnet publish -c Release -o out
- name: obfuscate
image: git.ivasoft.cz/sw/docker-wine-dotnet
commands:
- wine Eazfuscator.NET.exe CinemaJellyfin/bin/Release/net8.0/CinemaJellyfin.dll -k key.snk -n --newline-flush
when:
event: tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: drone_release
base_url: https://git.exprojekt.cz
files: 'CinemaJellyfin/bin/Release/net8.0/CinemaJellyfin.dll'
when:
event: tag
- name: docker
image: plugins/docker
settings:
registry: https://git.ivasoft.cz
username:
from_secret: repo_user
password:
from_secret: repo_pass
repo: git.ivasoft.cz/sw/stream-cinema
tags:
- latest
- ${DRONE_TAG:-latest}