chore: fix Windows build in build pipeline

fix
This commit is contained in:
andyzhangx 2022-05-01 14:41:49 +00:00
parent 8326812b1a
commit 03e1d3e7ad
3 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ container-linux-armv7:
container-windows:
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="windows/$(ARCH)" \
-t $(IMAGE_TAG)-windows-$(OSVERSION)-$(ARCH) --build-arg OSVERSION=$(OSVERSION) \
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Windows.Dockerfile .
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile.Windows .
.PHONY: container-all
container-all: smb-windows

View File

@ -15,7 +15,7 @@ az acr build -r $acrName -t $acrRepo:$ver-$linux -f cmd/smbplugin/Dockerfile --
win="windows-1809-amd64"
make smb-windows
az acr build -r $acrName -t $acrRepo:$ver-$win -f cmd/smbplugin/Windows.Dockerfile --platform windows .
az acr build -r $acrName -t $acrRepo:$ver-$win -f cmd/smbplugin/Dockerfile.Windows --platform windows .
docker manifest create $acrRepo:$ver $acrRepo:$ver-$linux $acrRepo:$ver-$win
docker manifest inspect $acrRepo:$ver