/examples

Primary LanguageGoApache License 2.0Apache-2.0

DEPRECATION NOTICE

This repository is deprecated and will be removed on 21 Nov 2023. Dagger SDK examples in this repository have been migrated to the primary Dagger repository and work will continue in the new locations below:

Dagger Examples

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

By Language

Go

Python

Node.js (Typescript/Javascript)

Bash with Dagger CLI and GraphQL

GraphQL queries