From 2827e2a57428e860637f3bca1b3cb868134eb772 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Wed, 12 Jul 2023 22:28:58 +0000 Subject: [PATCH] add --load to test/py-flask to fix the CI issue The issue says "WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load" Signed-off-by: jiaxiao zhou --- Makefile | 2 +- test/k8s/deploy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f6ba6fd48..419c79b4e 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ test/k8s/_out/img: test/k8s/Dockerfile Cargo.toml Cargo.lock $(shell find . -typ .PHONY: test/py-flask test/py-flask: - $(DOCKER_BUILD) -t py-flask-app:latest -f $@/Dockerfile $@ + $(DOCKER_BUILD) -t py-flask-app:latest -f $@/Dockerfile --load $@ mkdir -p $@/out && docker save -o $@/out/img.tar py-flask-app:latest .PHONY: test/k8s/cluster diff --git a/test/k8s/deploy.yaml b/test/k8s/deploy.yaml index 2f6bb9bc0..eab1bb6bb 100644 --- a/test/k8s/deploy.yaml +++ b/test/k8s/deploy.yaml @@ -26,5 +26,5 @@ spec: image: ghcr.io/containerd/runwasi/wasi-demo-app:latest imagePullPolicy: Never - name: py-demo - image: py-cmd-app:v1 + image: py-flask-app:latest imagePullPolicy: Never \ No newline at end of file