Update Build for All Entrypoints
Build process updated to find example in a subdir
This commit is contained in:
@@ -18,7 +18,7 @@ ARG TARGETARCH
|
||||
RUN --mount=target=. \
|
||||
--mount=type=cache,target=/go/pkg/mod \
|
||||
--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
|
||||
RUN --mount=target=. \
|
||||
|
||||
Reference in New Issue
Block a user