Skip to content

Commit 2827e2a

Browse files
committed
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 <jiazho@microsoft.com>
1 parent bf71029 commit 2827e2a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ test/k8s/_out/img: test/k8s/Dockerfile Cargo.toml Cargo.lock $(shell find . -typ
6969

7070
.PHONY: test/py-flask
7171
test/py-flask:
72-
$(DOCKER_BUILD) -t py-flask-app:latest -f $@/Dockerfile $@
72+
$(DOCKER_BUILD) -t py-flask-app:latest -f $@/Dockerfile --load $@
7373
mkdir -p $@/out && docker save -o $@/out/img.tar py-flask-app:latest
7474

7575
.PHONY: test/k8s/cluster

test/k8s/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ spec:
2626
image: ghcr.io/containerd/runwasi/wasi-demo-app:latest
2727
imagePullPolicy: Never
2828
- name: py-demo
29-
image: py-cmd-app:v1
29+
image: py-flask-app:latest
3030
imagePullPolicy: Never

0 commit comments

Comments
 (0)