mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Fix AWS CodeArtifact UV_PUBLISH_URL (#8222)
This commit is contained in:
parent
855c1917e1
commit
a131b1a9e6
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ Authenticate to a feed using a
|
|||
### Using a PAT
|
||||
|
||||
If there is a PAT available (eg
|
||||
[ `$(System.AccessToken)` in an Azure pipeline](https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken)),
|
||||
[`$(System.AccessToken)` in an Azure pipeline](https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken)),
|
||||
credentials can be provided via the "Basic" HTTP authentication scheme. Include the PAT in the
|
||||
password field of the URL. A username must be included as well, but can be any string.
|
||||
|
||||
|
@ -108,7 +108,7 @@ from the credentials:
|
|||
|
||||
```bash
|
||||
# Configure uv to use AWS CodeArtifact
|
||||
export UV_PUBLISH_URL="https://${AWS_CODEARTIFACT_TOKEN}@${AWS_DOMAIN}-${AWS_ACCOUNT_ID}.d.codeartifact.${AWS_REGION}.amazonaws.com/pypi/${AWS_CODEARTIFACT_REPOSITORY}/"
|
||||
export UV_PUBLISH_URL="https://${AWS_DOMAIN}-${AWS_ACCOUNT_ID}.d.codeartifact.${AWS_REGION}.amazonaws.com/pypi/${AWS_CODEARTIFACT_REPOSITORY}/"
|
||||
export UV_PUBLISH_USERNAME=aws
|
||||
export UV_PUBLISH_PASSWORD="$AWS_CODEARTIFACT_TOKEN"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue