log (#7)
This commit is contained in:
Родитель
f8f4b524fc
Коммит
21ffffc918
|
@ -56,7 +56,7 @@ jobs:
|
||||||
# Get-ChildItem $ModulesPath -Recurse -Depth 3 | select FullName
|
# Get-ChildItem $ModulesPath -Recurse -Depth 3 | select FullName
|
||||||
|
|
||||||
- name: Azure Login
|
- name: Azure Login
|
||||||
if: github.event.inputs.publish == 'true'
|
# if: github.event.inputs.publish == 'true'
|
||||||
uses: Azure/login@v1
|
uses: Azure/login@v1
|
||||||
with:
|
with:
|
||||||
creds: ${{ env.AZURE_CREDENTIALS }}
|
creds: ${{ env.AZURE_CREDENTIALS }}
|
||||||
|
|
|
@ -81,7 +81,7 @@ function Publish-ModuleToPrivateBicepRegistry {
|
||||||
|
|
||||||
if ($BicepRegistryPublic) {
|
if ($BicepRegistryPublic) {
|
||||||
if ($PSCmdlet.ShouldProcess("Container Registry [$BicepRegistryName] public (anonymous) access", 'Enable')) {
|
if ($PSCmdlet.ShouldProcess("Container Registry [$BicepRegistryName] public (anonymous) access", 'Enable')) {
|
||||||
az acr update --name $BicepRegistryRgName --anonymous-pull-enabled
|
az acr update --name $BicepRegistryName --anonymous-pull-enabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче