From 99ac7f5f9eab74ccdc3fd914c3541490b05f673b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 11 Dec 2022 19:32:33 +0100 Subject: [PATCH] e2e: load to docker store Signed-off-by: CrazyMax --- hack/test-driver | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hack/test-driver b/hack/test-driver index 871ddb20..a77bce4f 100755 --- a/hack/test-driver +++ b/hack/test-driver @@ -131,6 +131,14 @@ buildxCmd build ${buildPlatformFlag} \ "${context}" cat "${context}/metadata-build.json" +# load to docker store +if [ "$DRIVER" != "docker" ]; then + buildxCmd build \ + --output="type=docker,name=buildx-test-load" \ + --builder="${builderName}" \ + "${context}" +fi + # create bake def cat > "${bakedef}" <