From 21ffffc9186d210b94a01f8d9d256afda7c70752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Gr=C3=A4f?= Date: Thu, 22 Sep 2022 23:37:48 +1200 Subject: [PATCH] log (#7) --- .github/workflows/publish.yml | 2 +- scripts/Publish-ModuleToBicepRegistry.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 576bf4a..3dfe358 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,7 +56,7 @@ jobs: # Get-ChildItem $ModulesPath -Recurse -Depth 3 | select FullName - name: Azure Login - if: github.event.inputs.publish == 'true' + # if: github.event.inputs.publish == 'true' uses: Azure/login@v1 with: creds: ${{ env.AZURE_CREDENTIALS }} diff --git a/scripts/Publish-ModuleToBicepRegistry.ps1 b/scripts/Publish-ModuleToBicepRegistry.ps1 index bce3c16..df4b558 100644 --- a/scripts/Publish-ModuleToBicepRegistry.ps1 +++ b/scripts/Publish-ModuleToBicepRegistry.ps1 @@ -81,7 +81,7 @@ function Publish-ModuleToPrivateBicepRegistry { if ($BicepRegistryPublic) { 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 } }