Skip to content

Pushing package from workflow *sometimes* fails with "User cannot be authenticated with the token provided." #78142

Closed Answered by psalz
psalz asked this question in Packages
Discussion options

You must be logged in to vote

We solved it: The problem is that logging into Docker is stateful, and we were running multiple jobs concurrently on the same machine using self-hosted runners. Moving the call to docker login right before docker push seems to work well enough for now (although there's still a race, of course).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by psalz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Question
1 participant