Sign inSign up

djordjelukic1639080/cbx-example-github-repo:1

Manifest digest

sha256:b94ce09d27551afaee0bfd00eb9f488feacf39a7bd170d805b32b792a1939a7f

Last pushed

about 12 hours by djordjelukic1639080

Type

Sandbox Kit

Manifest digest

sha256:b94ce09d27551afaee0bfd00eb9f488feacf39a7bd170d805b32b792a1939a7f

MIXIN

Clones a GitHub repository into the workspace when the sandbox is created, and lets git fetch from and push to that repository only.


Arguments
NameRequiredDefaultDescription
dirOptional/home/agent/workspace

Absolute directory to clone into

repoRequired—

GitHub repository to clone, as owner/name



CapabilitiesExpand a row to see its full configuration.
TypeRequiredDescription
com.docker.sandbox/network-policy@2Required—
com.docker.sandbox/credential@1OptionalGitHub token to clone and push to the repository
com.docker.sandbox/lifecycle@1Required—
com.docker.sandbox/agent-context@1Required—

Apply this mixin to a sandbox

sbx run <agent> --kit djordjelukic1639080/cbx-example-github-repo:1 --set repo=<repo>

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠