UV Publish template
Objective
Upload distributions to an index.
How to use it
- Include the
uv-publish
template in your CI/CD configuration (see quick use above). - If you need to customize the job, check the jobs customization.
Variables
Name | Description | Default |
---|---|---|
image |
Image for the job. | ghcr.io/astral-sh/uv:0.8.3-alpine3.21 |
options/UV_PUBLISH_OPTIONS |
Options used by uv when publishing package. | "" |
src/UV_PUBLISH_SRC |
Paths to the files to upload. Accepts glob expressions. | dist/* |
stage |
Stage of the job. | deploy |
token/UV_PUBLISH_TOKEN |
Token for the upload. | dist/* |