- 
                Notifications
    You must be signed in to change notification settings 
- Fork 715
Labels
area-deploymentdocker-compose‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!This used to work in an earlier version of Aspire and we broke it!
Milestone
Description
This is a regression from the last release to fix the fact that we no longer hard code "latest". This logic needs to upsert the existing image name instead
aspire/src/Aspire.Hosting.Docker/DockerComposePublishingContext.cs
Lines 190 to 196 in a0eb933
| if (source is ContainerImageReference cir && cir.Resource.TryGetContainerImageName(out var imageName)) | |
| { | |
| defaultValue = imageName; | |
| onlyIfMissing = false; // Always update the image name if it changes | |
| } | |
| envFile.Add(key, defaultValue, description, onlyIfMissing); | 
Copilot
Metadata
Metadata
Assignees
Labels
area-deploymentdocker-compose‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!This used to work in an earlier version of Aspire and we broke it!