t
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
phil 2025-06-24 10:57:18 +02:00
parent 5d03260a06
commit ea25549f1e

View file

@ -4,6 +4,17 @@ when:
- event: manual
steps:
get_tag:
image: ghcr.io/astral-sh/uv:python3.13-alpine
commands:
- echo $CI_COMMIT_TAG
if_tag:
image: ghcr.io/astral-sh/uv:python3.13-alpine
when:
evaluate: 'CI_COMMIT_TAG == true'
commands:
- echo "It's a tag!"
sync:
image: ghcr.io/astral-sh/uv:python3.13-alpine
volumes:
@ -29,17 +40,6 @@ steps:
- uv build --wheel
- uv cache prune --ci
get_tag:
image: ghcr.io/astral-sh/uv:python3.13-alpine
commands:
- echo $CI_COMMIT_TAG
if_tag:
image: ghcr.io/astral-sh/uv:python3.13-alpine
when:
evaluate: 'CI_COMMIT_TAG == true'
commands:
- echo "It's a tag!"
@ -55,6 +55,7 @@ steps:
from_secret: forgejo_password
commands:
- twine upload --repository-url $REGISTRY_URL/api/packages/$OWNER/pypi -u $USERNAME -p $PASSWORD --non-interactive dist/*.whl
failure: ignore
# TODO: container
# For podman build: see https://woodpecker-ci.org/blog/podman-image-build-sigstore