Sign inSign up

djordjelukic1639080/cbx-example-github-repo

By djordjelukic1639080

•Updated about 10 hours ago

Sandbox Kit
0

29

djordjelukic1639080/cbx-example-github-repo repository overview

Digest

sha256:b94ce09d2755…

Size

1.9 kB

Schema

v3

Pushed

about 10 hours ago

Specificationspec.yaml

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. See the full spec for the complete descriptor.
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⁠
No overview available
This repository doesn't have an overview