19 lines
468 B
YAML
19 lines
468 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build_python_project
|
|
|
|
steps:
|
|
- name: build
|
|
image: python/alpine
|
|
commands:
|
|
- pip install -r requirements.txt
|
|
- 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 |