-
Notifications
You must be signed in to change notification settings - Fork 142
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
When setting 'path' parameter 'dockerfile' parameter is also needed #64
Comments
We are also experiencing this. We are on version 6.6.0
Looking at the docker docs, it looks like the dockerfile parameter is distinct from the other path parameter.
For what it's worth, we followed @tarikdem's suggestion and it worked for us. |
thanks @tarikdem @sparta-developers ! looks like this orb's
feel free to submit a PR, should be fairly straightforward, otherwise we will get this taken care of shortly |
patched in |
@tarikdem you saved my day. Had to deal with the exact same issue a whole day. |
Orb version
6.0.6
What happened
I tried building and pushed an image to ECR which is in a subfolder in my repo by providing the
path
parameter (path: './dir'
). That failed with:It worked only when I added both
dockerfile: './dir/Dockerfile
andpath: './dir'
Expected behavior
Ideally, just by setting the path parameter the Docker context including Dockerfile should be set. If not, it is not stated in the docs that the dockerfile parameter is required when setting the path.
The text was updated successfully, but these errors were encountered: