Update Build for All Entrypoints

Build process updated to find example in a subdir
This commit is contained in:
sjc
2025-05-28 07:50:07 -04:00
parent 0122f64137
commit 6fe6d2db47

View File

@@ -18,7 +18,7 @@ ARG TARGETARCH
RUN --mount=target=. \ RUN --mount=target=. \
--mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/root/.cache/go-build \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /out/example . GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /out/ ./...
FROM base AS unit-test FROM base AS unit-test
RUN --mount=target=. \ RUN --mount=target=. \