This is a Dagger module for building an OCI image of your project using buildx.
dagger -m github.com/tsirysndr/daggerverse/buildx call \
dev --src <source> terminal
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
Name | Description |
---|---|
dev |
Start a development environment |
build |
Build an OCI image of the project |
publish |
Publish the OCI image to a registry |
import { build } from 'jsr:@fx/buildx';
await plan(".");
await build(".", "my-app", "linux/amd64,linux/arm64");