From 2fd9ff5293a84ccce57af797ba6199f9b7a8fcb9 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sat, 1 May 2021 01:05:58 +0000 Subject: [PATCH] devenv: export build logs Signed-off-by: Solomon Hykes --- .dagger/env/dev/main.cue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.dagger/env/dev/main.cue b/.dagger/env/dev/main.cue index 0d30aa23..776d60db 100644 --- a/.dagger/env/dev/main.cue +++ b/.dagger/env/dev/main.cue @@ -46,6 +46,12 @@ build: { image: ctr outputDir: "/binaries" } + + logs: (io.#File & { + from: ctr + path: "/build.log" + read: format: "string" + }).read.data }