/examples

Primary LanguageGoApache License 2.0Apache-2.0

Dagger Examples

If you'd like to see a new example, please open an issue.

Core Concepts

Mounting source files to a container

Multi-stage build

Multi-platform build

Cache mounts

Concurrency

Note: While the DAG is constructed serially, the engine will execute the full DAG when the build artifacts directory is exported. Since each platform's build doesn't depend on the others, the engine will execute each build concurrently.

Container publishing

Secrets

Services

Testing your pipelines

By Language

Go

Python

Node.js (Typescript/Javascript)

Bash with Dagger CLI and GraphQL

GraphQL queries