You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /tmp/java-build/docker/web/Dockerfile: no such file or directory
Exited with code 1
Looks like in your orb definition, you have nowhere to specify working_directory (so it use the default value . and workspace-root has to be ., otherwise it will complain it cannot find the file).
However, I also realized for some images (e.g. circleci/openjdk:11.0-jdk) you cannot setup working_directory to be .. Otherwise it will fail the checkout step with the error
Directory (.) you are trying to checkout to is not empty and not git repository
the root & path parameters tell our system what files you want to save to your workspace. thus, those paths will need to exist.
the error you saw originally is not because of anything in the orb code—it's because you have some kind of path issue & the dockerfile you're trying to build w/ the ecr orb is not at the path where you're telling it to look for it. have you tried rerunning your job with ssh so you can determine where the dockerfile is?
also, i would recommend against setting working_directory to anything in /tmp
Orb version
3.1.0
What happened
I got
https://circleci.com/gh/gitenter/gitenter/388
but change to
.
the job succeed.https://circleci.com/gh/gitenter/gitenter/393
Expected behavior
If it is equivalent to
workspace-root
should support arbitrary path rather than just.
.The text was updated successfully, but these errors were encountered: