Introduction
A Buddy artifact stores versioned files, container images, packages, Git repos or databases outside pipelines. How it differs from the pipeline filesystem.
Quick start
Create a Buddy artifact, publish build output as a version with the Publish Artifact Version action, and download it in another pipeline or from the CLI.
Versions
Every Buddy artifact version has a unique name. Create versions in the UI, CLI or a pipeline, copy them without a rebuild and see which runs used each one.
Bucket
A Bucket artifact stores any files as versions, each with its own HTTPS address. Upload from the UI, CLI or a pipeline and download with a browser, curl or bdy.
Container registry
Push and pull Docker images to a private registry at container.registry.sh. Each image tag becomes a version of a Container Image artifact in Buddy.
npm registry
Publish and install private npm packages from npm.registry.sh. The package scope is your workspace and each package version is an artifact version in Buddy.
GitHub Release
Connect a GitHub repository to a Buddy artifact. Each new release becomes a read-only version with its assets and can trigger a deploy pipeline.
Composer registry
Publish private PHP packages to composer.registry.sh from a Buddy pipeline and install them with composer install using a personal access token.
Git repository
Host a private Git repository as a Buddy artifact at git.buddy.works. Clone and push over HTTPS or SSH; each branch and tag becomes an artifact version.
Turso database
Create a Turso Database artifact in Buddy. Each version is a separate SQLite database you query with the Turso SDK or over HTTP using an access token.
Scopes
A Buddy artifact belongs to a workspace, a project or an environment. Scope decides where the artifact is listed and which pipelines and runs can reach it.
Permissions and access
Grant pipelines and sandboxes Read-only, Read-write or Manage access to a Buddy artifact, and control what people can do with the Artifacts module in a role.
Access control
Access control decides who can open artifact version URLs outside Buddy: Buddy login, HTTP Basic Auth or public access. Set it in the UI, with bdy flags or API.
Artifacts in pipelines
Use the Publish Artifact Version and Download Artifact Version actions to pass build files between pipelines and read the BUDDY_ARTIFACT_* variables.
Run a pipeline with an artifact version
Start a pipeline with a chosen artifact version from the Run window, CLI, artifact triggers or the Trigger pipeline action, and read the BUDDY_RUN_ARTIFACT_* variables.
Using artifact images
Run a BUILD action or a service on a Docker image stored in a Buddy Container Image artifact. Set image_location to ARTIFACT_REGISTRY, grant Read-only access.
Cleanup and retention
Delete old artifact versions in Buddy with the Artifact Cleanup action and wildcard version patterns, and set retention rules in the artifact Settings tab.
Artifacts in the CLI
Artifact management using the Buddy CLI, including artifact creation, version publishing, downloading, copying, and container registry authentication.
Artifacts in Sandboxes
Fetch an artifact version into a Buddy Sandbox with bdy sb fetch, refresh it later, and grant the Sandbox access to the artifact in the Permissions tab.
Artifacts and AI agents
Let an AI agent create artifacts, add versions, upload files and run pipelines with an artifact version through the Buddy MCP server, and what to check first.
Troubleshooting
Real error messages from Buddy artifact actions, bdy, docker, npm, composer, git, Turso and the API, with the cause and the setting that fixes each.