Parent
Part of #14
What to build
Add Build(ctx, source *dagger.Directory, distro, version string, platform dagger.Platform) *dagger.Container to .dagger/main.go. Use it from ci.yml's build job in place of the docker/build-push-action step (CI does not push).
Keep release.yml on docker/build-push-action — auth, manifest list, and OCI label semantics on the push path are best handled there. The migration of the push path is explicitly out of scope.
Acceptance criteria
Blocked by
None — can start immediately.
Parent
Part of #14
What to build
Add
Build(ctx, source *dagger.Directory, distro, version string, platform dagger.Platform) *dagger.Containerto.dagger/main.go. Use it fromci.yml'sbuildjob in place of thedocker/build-push-actionstep (CI does not push).Keep
release.ymlondocker/build-push-action— auth, manifest list, and OCI label semantics on the push path are best handled there. The migration of the push path is explicitly out of scope.Acceptance criteria
dagger call build --source=. --distro=debian --version=bookworm-slim --platform=linux/amd64succeeds locallyci.ymlbuildjob uses daggerrelease.ymlreleasejob unchangedBlocked by
None — can start immediately.