Merged in feature/jobsynced (pull request #72)
Job Status Get and DB tidy up * initalquery * tests * shorttests * testing queries * job * solvedthequery * updatingdb * fixingtests * repotests * shorttests * docker * testspassed
This commit is contained in:
+1
-5
@@ -16,11 +16,7 @@ ARG TARGETARCH
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
RUN --mount=type=cache,target=/go/pkg/mod/ \
|
||||
--mount=type=bind,target=. \
|
||||
while read -r dir; do \
|
||||
CGO_ENABLED=0 GOARCH=$TARGETARCH go build -o "/bin/$(basename "$dir")" "$dir"; \
|
||||
done < <(find ./cmd -type d -not -name "*_test" -mindepth 1 -maxdepth 1)
|
||||
|
||||
|
||||
CGO_ENABLED=0 GOARCH=$TARGETARCH go build -o /bin ./cmd/...
|
||||
|
||||
FROM scratch AS final
|
||||
|
||||
|
||||
Reference in New Issue
Block a user