README ¶ How to build cross-platform container images export DOCKER_CLI_EXPERIMENTAL=enabled acrName= az acr login -n $acrName acrRepo=$acrName.azurecr.io/public/k8s/csi/azuredisk-csi ver=v0.7.0 linux="linux-amd64" make azuredisk az acr build -r $acrName -t $acrRepo:$ver-$linux -f pkg/azurediskplugin/Dockerfile --platform linux . win="windows-1809-amd64" make azuredisk-windows az acr build -r $acrName -t $acrRepo:$ver-$win -f pkg/azurediskplugin/Windows.Dockerfile --platform windows . docker manifest create $acrRepo:$ver $acrRepo:$ver-$linux $acrRepo:$ver-$win docker manifest inspect $acrRepo:$ver docker manifest push $acrRepo:$ver --purge docker manifest create $acrRepo:latest $acrRepo:$ver-$linux $acrRepo:$ver-$win docker manifest inspect $acrRepo:latest docker manifest push $acrRepo:latest --purge # check docker manifest inspect mcr.microsoft.com/k8s/csi/azuredisk-csi:$ver docker manifest inspect mcr.microsoft.com/k8s/csi/azuredisk-csi:latest Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.