w
This commit is contained in:
parent
caa5362397
commit
deccea8809
1 changed files with 4 additions and 15 deletions
|
@ -6,11 +6,6 @@ depends_on:
|
|||
- test
|
||||
|
||||
steps:
|
||||
# isitatag:
|
||||
# image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
# when:
|
||||
# evaluate: '"CI_COMMIT_TAG" in $env'
|
||||
|
||||
sync:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
volumes:
|
||||
|
@ -31,22 +26,16 @@ steps:
|
|||
commands:
|
||||
- uv build --wheel
|
||||
- uv cache prune --ci
|
||||
|
||||
|
||||
|
||||
|
||||
push_python:
|
||||
# TODO: when git tag
|
||||
image: code.philo.ydns.eu/philorg/twine
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
environment:
|
||||
OWNER: philorg
|
||||
REGISTRY_URL: https://code.philo.ydns.eu
|
||||
USERNAME:
|
||||
from_secret: forgejo_username
|
||||
PASSWORD:
|
||||
from_secret: forgejo_password
|
||||
REGISTRY_TOKEN:
|
||||
from_secret: registry_token
|
||||
commands:
|
||||
- twine upload --repository-url $REGISTRY_URL/api/packages/$OWNER/pypi -u $USERNAME -p $PASSWORD --non-interactive dist/*.whl
|
||||
- uv publish --publish-url $REGISTRY_URL/api/packages/$OWNER/pypi -u __token__ --token REGISTRY_TOKEN dist/*.whl
|
||||
failure: ignore
|
||||
|
||||
# TODO: container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue