Skip to content

Commit 4dd164a

Browse files
committed
ci: fix no-avx512 image build
1 parent f4033e7 commit 4dd164a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ base-arm64:
8484
.PHONY: image-kube-ovn
8585
image-kube-ovn: build-go
8686
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG) --build-arg VERSION=$(RELEASE_TAG) -o type=docker -f dist/images/Dockerfile dist/images/
87+
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 --build-arg BASE_TAG=$(RELEASE_TAG)-no-avx512 -o type=docker -f dist/images/Dockerfile dist/images/
8788
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(DEBUG_TAG) --build-arg BASE_TAG=$(DEBUG_TAG) -o type=docker -f dist/images/Dockerfile dist/images/
8889
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-dpdk -o type=docker -f dist/images/Dockerfile.dpdk dist/images/
8990

@@ -119,7 +120,7 @@ push-release: release
119120

120121
.PHONY: tar-kube-ovn
121122
tar-kube-ovn:
122-
docker save $(REGISTRY)/kube-ovn:$(RELEASE_TAG) $(REGISTRY)/kube-ovn:$(DEBUG_TAG) -o kube-ovn.tar
123+
docker save $(REGISTRY)/kube-ovn:$(RELEASE_TAG) $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 $(REGISTRY)/kube-ovn:$(DEBUG_TAG) -o kube-ovn.tar
123124

124125
.PHONY: tar-vpc-nat-gateway
125126
tar-vpc-nat-gateway:

0 commit comments

Comments
 (0)