How to publish to private CodeArtifact using Poetry: 401 error #8572
Unanswered
ferreira68
asked this question in
Q&A
Replies: 2 comments
-
Hello @ferreira68 This worked for me:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Apparently we now have to set pypi-token instead of basic auth credentials. @blamarao's approach works, but if you want to keep using environment variables, you can just rename |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to deploy to our CodeArtifact repository from a GitHub workflow. I don't want to go the
twine
route and would like to stick withpoetry
. Here's an excerpt from my workflow.yml
file:Everything runs fine up until the
poetry publish
command, which returns the following:I am confused by this as I thought the three environment variables would provide the necessary credentials. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions