-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: Add a way to select a specific branch before building the devcontainer #266
Comments
This should already be possible. See https://github.com/coder/envbuilder#git-branch-selection |
The following feature:
only works for https git urls, not ssh. Having an option to choose a branch, and use |
Description
Improve feature parity with
github codespaces
.The goal is to add a new
coder_parameter
calledtarget branch
to workspace templates.It will let the user select a branch from which to build a devcontainer.
Unlike the devcontainer cli, the
git clone
happen in theenbuilder
container.So I think it is the responsibility of
envbuilder
to checkout to the target branch before building the container.PS: The workaround in readme.md does not work on all platforms.
The text was updated successfully, but these errors were encountered: