Skip to content

Commit 41120b2

Browse files
authored
fix not building no-avx512 image (#2228)
1 parent 4320301 commit 41120b2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-windows.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- master
7+
- release-*
78
paths-ignore:
89
- 'docs/**'
910
- '**.md'

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ base-arm64:
6767
.PHONY: image-kube-ovn
6868
image-kube-ovn: build-go
6969
docker buildx build --platform linux/amd64 --build-arg ARCH=amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG) -o type=docker -f dist/images/Dockerfile dist/images/
70+
docker buildx build --platform linux/amd64 --build-arg ARCH=amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 -o type=docker -f dist/images/Dockerfile.no-avx512 dist/images/
7071

7172
.PHONY: image-vpc-nat-gateway
7273
image-vpc-nat-gateway:
@@ -95,7 +96,7 @@ push-release: release
9596

9697
.PHONY: tar-kube-ovn
9798
tar-kube-ovn:
98-
docker save $(REGISTRY)/kube-ovn:$(RELEASE_TAG) -o kube-ovn.tar
99+
docker save $(REGISTRY)/kube-ovn:$(RELEASE_TAG) $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 -o kube-ovn.tar
99100

100101
.PHONY: tar-vpc-nat-gateway
101102
tar-vpc-nat-gateway:

0 commit comments

Comments
 (0)