Skip to content

fix: standardize imageTag env variable from AZURE_ENV_IMAGETAG to AZURE_ENV_IMAGE_TAG#521

Open
Roopan-Microsoft wants to merge 1 commit intodevfrom
fix/imageTag-env-variable-naming
Open

fix: standardize imageTag env variable from AZURE_ENV_IMAGETAG to AZURE_ENV_IMAGE_TAG#521
Roopan-Microsoft wants to merge 1 commit intodevfrom
fix/imageTag-env-variable-naming

Conversation

@Roopan-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

Standardize the \imageTag\ AZD environment variable name from \AZURE_ENV_IMAGETAG\ to \AZURE_ENV_IMAGE_TAG\ to comply with the Bicep naming standards convention (underscore-separated words).

Changes

Renamed \AZURE_ENV_IMAGETAG\ → \AZURE_ENV_IMAGE_TAG\ in 7 files:

File Change
\infra/main.parameters.json\ Env variable name in parameter value
\infra/main.waf.parameters.json\ Env variable name in parameter value
\infra/scripts/docker-build.sh\ Variable read, echo, and usage
\infra/scripts/docker-build.ps1\ Variable read, echo, and usage
.github/workflows/job-deploy-linux.yml\ \�zd env set\ command
.github/workflows/job-deploy-windows.yml\ \�zd env set\ command
\docs/CustomizingAzdParameters.md\ Documentation table entry

*Default value remains \latest_v2* — only the env variable name is corrected.

Does this introduce a breaking change?

  • Yes
  • No

Note: Users who previously set \AZURE_ENV_IMAGETAG\ in their AZD environment will need to update to \AZURE_ENV_IMAGE_TAG.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

Rename AZURE_ENV_IMAGETAG to AZURE_ENV_IMAGE_TAG across all files:
- infra/main.parameters.json
- infra/main.waf.parameters.json
- infra/main.bicep (default remains latest_v2)
- infra/scripts/docker-build.sh
- infra/scripts/docker-build.ps1
- .github/workflows/job-deploy-linux.yml
- .github/workflows/job-deploy-windows.yml
- docs/CustomizingAzdParameters.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant