From ea51a3490fa36608e33acb52b992c0508466db3f Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Mon, 19 Jun 2023 16:29:13 +0900 Subject: [PATCH] Fixed publish to private registry (#603) --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c1edd986..eae01c2d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,5 +73,5 @@ jobs: - name: Publish to Private Registry run: | - az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v4 - az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v${{ needs.publish.outputs.version }} + az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v4 --force + az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v${{ needs.publish.outputs.version }} --force