New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codebuild not recognizing Docker commands #53
Comments
@twigs67 did you find any solution, I am getting the same error in the code build. |
The problem lies in this line: docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG . One of those variables has a space in it. You can fix this by quoting them. To replicate this error locally: docker build -t meh hi-there . This is not an issue with this action. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Initially, I was receiving an exit error
125
, but now I'm receiving an error of1
. Both cases, it seems that CodeBuild isn't recognizing one or more Docker commands or arguments.This is the current error:
My
buildspec.yml
is straightforward:Image: aws/codebuild/standard:3.0
Privileged: True
Environment Type: Linux
Any idea what the issue might be? I couldn't find any mention of this error in the troubleshooting docs
The text was updated successfully, but these errors were encountered: