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
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to deploy to our CodeArtifact repository from a GitHub workflow. I don't want to go the
twineroute and would like to stick withpoetry. Here's an excerpt from my workflow.ymlfile:Everything runs fine up until the
poetry publishcommand, 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