diff --git a/dagger/release.go b/dagger/release.go index 8ea1fc6f..a3ac2d03 100644 --- a/dagger/release.go +++ b/dagger/release.go @@ -116,6 +116,7 @@ func (r *Replicated) Release( }). From("golang:1.22"). WithMountedDirectory("/go/src/github.com/replicatedhq/replicated", updatedSource). + WithoutFile("/go/src/github.com/replicatedhq/replicated/bin/replicated"). WithWorkdir("/go/src/github.com/replicatedhq/replicated"). WithMountedCache("/go/pkg/mod", goModCache). WithEnvVariable("GOMODCACHE", "/go/pkg/mod").