azurefileplugin

command
v1.26.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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/azurefile-csi
ver=v0.6.0

linux="linux-amd64"
make azurefile
az acr build -r $acrName -t $acrRepo:$ver-$linux -f pkg/azurefileplugin/Dockerfile  --platform linux .

win="windows-1809-amd64"
make azurefile-windows
az acr build -r $acrName -t $acrRepo:$ver-$win -f pkg/azurefileplugin/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/azurefile-csi:$ver
docker manifest inspect mcr.microsoft.com/k8s/csi/azurefile-csi:latest

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL