From a58a5bc7f3c7040a6c0fcf9c43e17da06513ca00 Mon Sep 17 00:00:00 2001 From: Thomas Meire Date: Thu, 29 Aug 2024 07:50:55 +0200 Subject: [PATCH] Copy cover.html from the work dir --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 24e6d43..edd850c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN go tool cover -html cover.out -o cover.html FROM scratch AS coverage -COPY --from=test cover.html cover.html +COPY --from=test /work/cover.html cover.html # Stage to build the binary FROM base AS build