diff --git a/setup.ps1 b/setup.ps1 index 06e7e44..b791b52 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -60,7 +60,7 @@ elseif ($runnerOs -eq "Windows") { Write-Output "Creating the file share" az storage share create --account-name $StorageName --name $StorageName --account-key $storageAccountKey | Out-Null - $azureContainerCreate = "az container create --image $dockerImage --name $ContainerName --location $region --resource-group $resourceGroup --cpu 4 --memory 8 --ports $port --ip-address public --environment-variables ORACLE_PASSWORD=$oraclePassword --azure-file-volume-share-name $StorageName --azure-file-volume-account-name $StorageName --azure-file-volume-account-key $storageAccountKey --azure-file-volume-mount-path $mountPath" + $azureContainerCreate = "az container create --image $dockerImage --name $ContainerName --location $region --resource-group $resourceGroup --cpu 4 --memory 8 --ports $port --os-type Linux --ip-address public --environment-variables ORACLE_PASSWORD=$oraclePassword --azure-file-volume-share-name $StorageName --azure-file-volume-account-name $StorageName --azure-file-volume-account-key $storageAccountKey --azure-file-volume-mount-path $mountPath" if ($registryUser -and $registryPass) { echo "Creating container with login to $RegistryLoginServer" $azureContainerCreate = "$azureContainerCreate --registry-login-server $RegistryLoginServer --registry-username $RegistryUser --registry-password $RegistryPass"