Hey Folks, I am trying to run `pants publish ::` ...
# general
r
Hey Folks, I am trying to run
pants publish ::
which would publish a docker image to amazon ECR from github action which uses
aws-actions/configure-aws-credentials@v1
and
aws-actions/amazon-ecr-login@v2
to configure aws credentials. But still when running publish command from github action it print a bunch of retry logs and then fails eventually with exit code 1. Not sure what's the reason of failure or how to debug this.
Screenshot 2024-02-10 at 12.40.31 AM.png
Screenshot 2024-02-10 at 12.40.49 AM.png
b
Sorry for the trouble. To debug, I’d suggest confirming where the problem is: Can you reproduce locally with pants? Does it reproduce in CI outside pants (normal docker commands)? Further, you can increase pants’ log level, which might provide more info? https://www.pantsbuild.org/2.19/reference/global-options#level
--level=debug
r
Hi @broad-processor-92400 Thanks for your helps. It turned out to be an permission issue from AWS side. Fixing this got this issue resolved.
👍 1