template: substitute placeholders
CD / Detect unsubstituted template (push) Successful in 1s
CD / Lint / Test / Vet (push) Successful in 5s
CD / Build & Import (push) Skipped
CD / Deploy via GitOps (push) Skipped

This commit is contained in:
2026-10-06 13:13:30 +00:00
parent 067be93a09
commit d61aacfd9c
+1 -1
View File
@@ -5,7 +5,7 @@ RUN go install github.com/a-h/templ/cmd/templ@latest
COPY go.mod ./
RUN go mod download
COPY . .
RUN templ generate && CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o /out/app ./cmd/__PROJECT_NAME__
RUN templ generate && CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o /out/app ./cmd/spatial-agent-app
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /out/app /app