ProxmoxDeploy/.drone.yml
Mathieu Broillet 544cc3aa53
Some checks failed
continuous-integration/drone/push Build is failing
update drone
2023-06-09 22:28:30 +02:00

21 lines
518 B
YAML

kind: pipeline
type: docker
name: build_python_project
steps:
- name: build
image: python:alpine
commands:
- pip install -r requirements.txt
- pip install nuitka
- apk add build-base
- python -m nuitka --onefile run.py --include-data-dir=./resources=resources --output-filename "ProxmoxDeploy${DRONE_TAG##v}.exe"
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.broillet.ch
files: run.exe
when:
event: tag