Parent
Part of #14
What to build
Add Lint(ctx, source *dagger.Directory, distro string) (string, error) to .dagger/main.go running hadolint inside a container. Replace the hadolint/hadolint-action step in ci.yml with dagger call lint --distro=....
Parse hadolint stdout to emit GitHub ::error file=...,line=...::... annotations so the PR experience matches what the action provided.
Acceptance criteria
Blocked by
None — can start immediately.
Parent
Part of #14
What to build
Add
Lint(ctx, source *dagger.Directory, distro string) (string, error)to.dagger/main.gorunning hadolint inside a container. Replace thehadolint/hadolint-actionstep inci.ymlwithdagger call lint --distro=....Parse hadolint stdout to emit GitHub
::error file=...,line=...::...annotations so the PR experience matches what the action provided.Acceptance criteria
dagger call lint --source=. --distro=debianruns hadolint and returns its outputci.ymlno longer referenceshadolint/hadolint-actionBlocked by
None — can start immediately.