feat: added image tag related changes.#180
Merged
Prajwal-Microsoft merged 4 commits intodevfrom Jun 6, 2025
Merged
Conversation
Collaborator
Prajwal-Microsoft
left a comment
There was a problem hiding this comment.
This is not correct, it should be added before log redirection
Prajwal-Microsoft
approved these changes
Jun 6, 2025
|
🎉 This PR is included in version 1.5.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces support for specifying an image tag (
AZURE_ENV_IMAGETAG) for container deployments, allowing greater flexibility in managing container versions. Changes span across configuration files, documentation, deployment scripts, and infrastructure definitions to integrate this new parameter.Feature Addition: Image Tag Support
Configuration Updates:
AZURE_ENV_IMAGETAGparameter toinfra/container_app/deploy_container_app_api_web.bicepand updated its usage in container deployment modules to replace hardcoded'latest'tags with dynamic values. [1] [2] [3] [4]imageTagparameter ininfra/main.bicepand passed it to relevant modules. [1] [2] [3]AZURE_ENV_IMAGETAGfrom environment variables ininfra/main.bicepparam.Script Enhancements:
docker-build.ps1to accept and utilize theAZURE_ENV_IMAGETAGparameter for constructing image URIs. [1] [2]docker-build.shto includeAZURE_ENV_IMAGETAGin argument validation and image URI construction. [1] [2] [3]Documentation Updates
Parameter Documentation:
AZURE_ENV_IMAGETAGdescription todocs/CustomizingAzdParameters.md, specifying allowed values (latest,dev,hotfix).docs/DeploymentGuide.mdto include the newImage Tagparameter.Structural Changes:
docs/DeploymentGuide.md.Configuration File Adjustments
AZURE_ENV_IMAGETAGinto preprovision hooks for both POSIX and Windows environments.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information