Skip to content

Commit fa0b362

Browse files
fix: remove redundant --registry flag from az acr import
When --source already contains the full registry hostname (e.g. ecsdevacr.azurecr.io/image:tag), the --registry flag is redundant and az acr import emits a WARNING that it will be ignored. Drop --registry to eliminate the noise. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ffaa95d commit fa0b362

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/Build-Test-And-Deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ jobs:
189189
az acr import \
190190
--name "${PROD_ACR%.azurecr.io}" \
191191
--source "${DEV_ACR}/essentialcsharpweb:${{ github.sha }}" \
192-
--registry "${DEV_ACR%.azurecr.io}" \
193192
--image "essentialcsharpweb:${{ github.sha }}" \
194193
--image "essentialcsharpweb:latest" \
195194
--force

0 commit comments

Comments
 (0)