Skip to content

Commit

Permalink
chore: specify cmd/flipt for base build
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps committed Oct 1, 2024
1 parent 00602f0 commit 3b43e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/internal/flipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func Base(ctx context.Context, dag *dagger.Client, source, uiDist *dagger.Direct
ldflags = fmt.Sprintf("-s -w -linkmode external -extldflags -static -X main.date=%s", time.Now().UTC().Format(time.RFC3339))
path = path.Join("/bin", platforms.Format(platform))
goBuildCmd = fmt.Sprintf(
"go build -trimpath -tags assets,netgo -o %s -ldflags='%s' ./...",
"go build -trimpath -tags assets,netgo -o %s -ldflags='%s' ./cmd/flipt",
path,
ldflags,
)
Expand Down

0 comments on commit 3b43e25

Please sign in to comment.