You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As one more workaround, add just after FROM ARG --required DOCKER_USER RUN echo $DOCKER_USER > user.txt
In the result all layers below will be with another hashes, and both users will be pushed. At least all other caches will work, rather than --no-cache workaround.
What went wrong?
Error: failed to SAVE IMAGE: server message: insufficient_scope: authorization failed
Do that pipeline:
docker login -u user1 // Was successfully pushed earthly --ci --push +docker --IMAGE=user1/app:latest docker logout docker login -u user2 // Error: failed to SAVE IMAGE: server message: insufficient_scope: authorization failed // All build was cached earthly --ci --push +docker --IMAGE=user2/app:latest
We can swap user2 to be first and it will be successfully pushed for user2, but not for both.
What should have happened?
Successfully pushed
The text was updated successfully, but these errors were encountered: