Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a089c8af7 | |||
| b310c8df57 |
+1
-1
@@ -17,7 +17,7 @@ RUN ["/bin/bash", "-c", "cat coverage.txt.tmp | grep -v -f <(find . -type f | xa
|
||||
RUN go tool cover -html=coverage.txt -o coverage.html
|
||||
RUN go tool cover -func=coverage.txt
|
||||
RUN rm coverage.txt.tmp
|
||||
RUN iGOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -mod=readonly -o release/default-request-adder -ldflags '-w -s'
|
||||
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -mod=readonly -o release/default-request-adder -ldflags '-w -s'
|
||||
|
||||
FROM scratch AS export
|
||||
COPY --from=build /build/coverage.txt /
|
||||
|
||||
Reference in New Issue
Block a user