-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[bug] tarPath is not relative path, but it should be #675
Comments
Relative path to what? In this case image.tar is being saved at If you need to save it outside of the |
It should be saved in |
In practice I run it from But example with |
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
this should be fixed by #736 |
Actual behavior
docker run --rm -w /workspace -v (pwd):/workspace gcr.io/kaniko-project/executor --tarPath=image.tar --context=auth-provider --no-push
image.tar
is saved who know where. If I change it to--tarPath=/workspace/image.tar
then it works.Expected behavior
Save it in right relative path. In case about in
/workspace/image.tar
.Additional Information
I need it to produce tar in relative path in Concourse (cicd). It is random path so it not constant.
The text was updated successfully, but these errors were encountered: