-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Building on self-hosted Windows 11: dockerWorkspacePath doesn't update --workdir #643
Comments
I am also running into this, any solutions? |
can confirm this is happening for me as well, on windows 10 edit: ah, I see the issue, actually. on windows it prepends c: to the front of the dockerWorkspacePath, so it is changing the value of workdir, it's just in our case we're using github/workspace, so it appears to be the same. that being said, it's still giving this error regardless: docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute path. |
@roomyrooms , the quick and dirty workaround I found was to just downgrade the |
Thanks for sharing the workaround. Happy to merge a PR if someone has suggested changes. |
(EDIT: never mind, I saw the discussion in the PR re. switching to windows containers.) @Mannilie I'm running into the same workspace path problem and tried downloading to unity-builder@v2 but get a problem with the docker image not being available: I'm fairly new to game.ci so may be overlooking something obvious - how are you obtaining an image with a '-1' suffix for the v2 builder? |
Here’s an explanation of the "not found: manifest unknown" error regarding version 2 of The error:
occurs because You could use the The correct approach would be to upgrade to the latest version of You can find available Docker images here:
You can find more details about Docker images here and see Docker image releases here. SolutionAs mentioned, the solution has been discussed in the related PR. Specifically, this comment addresses the original issue. It might be worth documenting this somewhere for future reference. 🤔 |
Bug description
Running Unity Builder on Windows 11 self-hosted results in this error
docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute path.
Passing in dockerWorkspacePath as prompted doesn't seem to have an effect
Any help is appreciated
How to reproduce
Expected behavior
Adding dockerWorkspacePath will override the
--workdir
however it doesn'tAdditional details
The text was updated successfully, but these errors were encountered: