knoc-plugin-template/.woodpecker/build.yaml
phil 33a4ad3ad0
Some checks failed
ci/woodpecker/tag/build Pipeline was successful
ci/woodpecker/tag/test Pipeline failed
CI: switch to woodpecker
2025-06-26 18:23:41 +02:00

39 lines
848 B
YAML

when:
- event: manual
- event: tag
#depends_on:
#- test
steps:
python_sync:
image: code.philo.ydns.eu/philorg/uv
volumes:
- uv-cache:/uv-cache
environment:
UV_CACHE_DIR: /uv-cache
UV_LINK_MODE: copy
commands:
- uv sync
python_build:
image: code.philo.ydns.eu/philorg/uv
volumes:
- uv-cache:/uv-cache
environment:
UV_CACHE_DIR: /uv-cache
UV_LINK_MODE: copy
commands:
- uv build --wheel
- uv cache prune --ci
python_publish:
image: code.philo.ydns.eu/philorg/uv
environment:
OWNER: K-Net
REGISTRY_URL: https://code.philo.ydns.eu
REGISTRY_TOKEN:
from_secret: registry_token
commands:
- uv publish --publish-url $REGISTRY_URL/api/packages/$OWNER/pypi --token $REGISTRY_TOKEN dist/*.whl
failure: ignore