What does `az acr build` do and why use ACR Tasks?
IntermediateConceptAKS and ACR
Answer
az acr build uploads your build context and builds the image in Azure, pushing it to the registry. No local Docker daemon, no privileged CI agents.
az acr build -r acrshop -t shop/web:{{.Run.ID}} -t shop/web:latest .
ACR Tasks extend this: triggered builds on git commit or base image update (rebuild when the python:3.12-slim base you depend on is patched), timers, multi-step YAML tasks. Base-image triggers are a cheap way to keep images patched.
More on AKS and ACR
What does Microsoft manage in AKS and what do you manage?BeginnerWhat is the difference between system and user node pools?BeginnerCompare the AKS networking options: kubenet, Azure CNI, Azure CNI Overlay, Azure CNI Powered by Cilium.AdvancedHow many IPs does an AKS subnet need with flat Azure CNI vs Overlay?AdvancedWhat are the AKS tiers (Free, Standard, Premium)?IntermediateHow do AKS Kubernetes version upgrades work?Intermediate