-
Notifications
You must be signed in to change notification settings - Fork 575
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
subdir not supported yet
while it should be supported
#676
Comments
From
Although the issue closed as resolved over a year ago, so maybe those docs are outdated. Might be related to the issue you're having though 🤷♂️ Can you make it work locally with the same versions used by the action? |
I have the same problem with v3.1.1
I tried different paths as well:
===== I can make it work local with buildx v0.8.2-docker, the GitHub actions is using github.com/docker/buildx 0.9.1+azure-1 |
That is not the same problem. You used This issue is about using subdir with the git build context (eg: Your issue states from the error that |
I see, sorry, my mistake. I will open another one. Thanks. I saw this one, but it was closed #169 btw, the |
See for more info #673 (comment) Closing this issue since that should answer your question, but feel free to re-open if it doesn't. Thanks. |
It does not. |
@jkulak Will copy/paste for good measure:
What is missing from my comment? |
The docs update is very good at explaining it. But if you need extra clarification:
Basically, However if you use You don't have to do anything else, just add the |
Thank you, it solves the issue. The docs update makes it clear. 👍🏽 |
Allows using subdirectories by forcing a more recent version of buildx. See docker/build-push-action#676
Behaviour
It is a simple repository with a Dockerfile (in a subdirectory). I want to build the image and push it to Docker Hub. It fails.
Steps to reproduce this issue
Expected behaviour
It seems like a simple/basic use case for
build-push-action
. I would expect it build the Docker image and push it to Docker Hub.Actual behaviour
Build fails. Seems like the action can not find the
Dockerfile
, which is located in the./app
directory of the repository.Configuration
Logs
logs_4.zip
Also:
The text was updated successfully, but these errors were encountered: