Skip to content

Latest commit

 

History

History

buildx

Module: Buildx

dagger-min-version deno compatibility ci

This is a Dagger module for building an OCI image of your project using buildx.

🚀 Usage

dagger -m github.com/tsirysndr/daggerverse/buildx call \
  dev --src <source> terminal

🧑‍🔬 Example

dagger -m github.com/tsirysndr/daggerverse/buildx call \
  dev --src . terminal

dagger -m github.com/tsirysndr/daggerverse/buildx call \
  build --src . \
  --tag my-app \
  --platform linux/amd64,linux/arm64

✨ Jobs

Name Description
dev Start a development environment
build Build an OCI image of the project
publish Publish the OCI image to a registry

🧑‍💻 Programmatic usage

import { build } from 'jsr:@fx/buildx';

await plan(".");
await build(".", "my-app", "linux/amd64,linux/arm64");