Introduction
An artifact in Buddy is a versioned resource stored independently of pipelines: a set of files, a container image, an npm or Composer package, a Git repository or a Turso database.
Artifact versions can be published and downloaded through pipelines, sandboxes, the Buddy CLI, the REST API, or dedicated clients such as Docker and npm. Artifact versions persist independently of pipeline runs until deleted manually or through automated cleanup mechanisms, such as the Artifact Cleanup action.
Image loading...
Artifact versioning
Each version has a name that is unique within the artifact, for example 1.0.0, build-42 or 3.2.0-rc. The version shows the history of runs that used it. You can copy a version under a new name, for example from 3.2.0 to 3.2.0-promoted, without rebuilding it, as described in Versions.
Image loading...
latest is a regular version name. my-app:latest points to the version with that name, even if 3.2.0 was published later.
Artifact types
The artifact type determines what you store in it and which tool you use to download it. You choose the type when you create the artifact, in the New artifact menu.
| Type | What it stores | Version | Download |
|---|---|---|---|
| Bucket | Any files | Name given at publishing | Version URL, bdy, Download Artifact Version action |
| Container Image | Docker images | Image tag | docker pull, BUILD action image |
| NPM Package | npm packages | Package version | npm install |
| GitHub Release | GitHub release assets, read-only | Release tag | Version URL, Download Artifact Version action |
| Composer Package | PHP packages | Package version | composer install |
| Git Repository | Git repository | Branch or tag | git clone |
| Turso Database | SQLite databases | Separate database | Turso SDK, HTTP |
Container Image, NPM Package, and Composer Package artifacts provide private registries. Git Repository artifacts provide hosted Git repositories. Image tags, package versions, and Git branches or tags correspond to individual artifact versions. Composer packages are published using the Composer Publish action or the bdy artifact composer publish command.
The image address, container.registry.sh/<workspace>/<artifact>:<tag>, does not include the project name, even when the artifact has project scope.
Artifacts, pipeline filesystem, and cache
An artifact moves the result of your work between pipelines, sandboxes and people. The pipeline filesystem is the working directory of a single pipeline and also its main cache: the repository and dependencies stay in it between runs. The cache also covers the Docker images that actions run on and the layers of images built in the pipeline.
| Artifact | Pipeline filesystem | Cache | |
|---|---|---|---|
| Purpose | Passing and storing the result of work | Working directory for the runs of one pipeline | Speeding up later runs |
| Belongs to | A workspace, project or environment | One pipeline | A pipeline or workspace, depending on the kind |
| Versions | Named versions, each stored separately | One state, changed by each run | None |
| Who uses it | Pipelines with permissions, sandboxes, bdy, docker, npm, REST API | Actions of that pipeline | Buddy, automatically |
Files go into an artifact and come back from it through the filesystem:
- the Publish Artifact Version action saves files from the filesystem as an artifact version,
- the Download Artifact Version action saves the files of a version to the filesystem,
- a run started with a selected artifact version copies its files to the filesystem without a separate action.
BUILD_ARTIFACTS is the filesystem, not Artifacts. In action YAML, input_type: BUILD_ARTIFACTS means files from the pipeline filesystem, both in deploy actions and in Publish Artifact Version.
Image loading...
Scope: where an artifact lives
An artifact belongs to the whole workspace, one project or one environment. The scope determines where the artifact appears in the list and which pipelines can use it.
Permissions and access control
Pipeline and sandbox permissions are configured on the artifact's Permissions tab. User permissions are determined by the assigned project role. See Permissions and access.
External access to artifact files is configured using the Access control field. Available authentication options depend on the artifact type and include Buddy Auth, HTTP BA, and Public. See Access control.
Artifact management
You work with the same artifacts and versions from the UI, pipelines, the CLI, sandboxes, the REST API and MCP:
- Artifacts in pipelines and Run a pipeline with an artifact version,
- Artifacts in the CLI,
- Artifacts in Sandboxes,
- Artifacts and AI agents,
- Artifacts API.
See also:
- Quickstart - publish a build result and download it in another pipeline
- Versions - create, copy and delete versions, the Browse tab
- Scopes - Workspace, Project and Environment scope
- Permissions and access - access levels for pipelines, sandboxes and roles
- Access control - access to files from outside Buddy: Buddy Auth, HTTP BA and Public
Last modified on Dec 3, 2026