Closed johnnyreilly closed 2 months ago
Output from azd version N/A
azd version
Describe the bug Not a bug, a missing feature!
Consider the following: azure.yml:
azure.yml
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: my-container-app metadata: template: azd-init@1.9.4 services: web: image: myregistry.azurecr.io/my-project/my-container-app:${WEB_VERSION_TAG} host: containerapp
The image property under services does not support environment substitution according to: https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
image
services
However, the same image property under docker does support environment substitution according to: https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
docker
To Reproduce N/A
Expected behavior Wouldn't it be amazing if services.image did support environment substitution in the same way as docker.image?
services.image
docker.image
Environment N/A
Additional context This came out the work done in this post: https://johnnyreilly.com/using-azd-for-faster-incremental-azure-container-app-deployments-in-azure-devops
@wbreza can we fix this?
Output from
azd version
N/ADescribe the bug Not a bug, a missing feature!
Consider the following:
azure.yml
:The
image
property underservices
does not support environment substitution according to: https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.jsonHowever, the same
image
property underdocker
does support environment substitution according to: https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.jsonTo Reproduce N/A
Expected behavior Wouldn't it be amazing if
services.image
did support environment substitution in the same way asdocker.image
?Environment N/A
Additional context This came out the work done in this post: https://johnnyreilly.com/using-azd-for-faster-incremental-azure-container-app-deployments-in-azure-devops