ProxmoxDeploy/.drone.yml
Mathieu Broillet 6324f1ae68
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
update drone
2023-06-09 23:00:19 +02:00

21 lines
552 B
YAML

kind: pipeline
type: docker
name: build_python_project
steps:
- name: build
image: python:alpine
commands:
- pip install -r requirements.txt
- apk add build-base patchelf
- pip install nuitka
- 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: ProxmoxDeploy${DRONE_TAG##v}.exe
when:
event: tag