Sign inSign up

sbx/gitlab-kit:20261008-366de59c7100f30bc57a18f65fdd91e74b5fa872

Manifest digest

sha256:f25a9c2b5529f21b102b1fe6ceb44b255ee152371cdc50cc4990a770755f786a

Last pushed

3 days by dockerpublicbot

Type

Sandbox Kit

Manifest digest

sha256:f25a9c2b5529f21b102b1fe6ceb44b255ee152371cdc50cc4990a770755f786a

MIXIN
REQUIRES SECRETS

Installs the GitLab CLI (glab) with proxy-injected personal access token auth, so agents can work with GitLab projects the way gh works with GitHub. Targets gitlab.com by default and any self-managed instance via the host argument.


Arguments
NameRequiredDefaultDescription
hostOptionalgitlab.com

GitLab instance hostname, e.g. gitlab.example.com for a self-managed instance

serviceOptionalgitlab

Credential service name to bind with `sbx secret set`. Give a self-managed sandbox its own name (e.g. gitlab-acme) so it can hold a different PAT from a gitlab.com sandbox.


Credentials
NameServiceRequiredDescription
GITLAB_TOKEN${{ kit.args.service }}RequiredGitLab personal access token (api scope) for the target instance. Stored on the host; the sandbox only sees a placeholder and the proxy injects the real value on requests to that instance.

Network Egress

${{ kit.args.host }}:443

gitlab.com:443

Apply this mixin to a sandbox

sbx run <agent> --kit sbx/gitlab-kit:20261008-366de59c7100f30bc57a18f65fdd91e74b5fa872

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⁠