Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should use ContainerRepository instead of ContainerImageName in container builds #4231

Open
amolenk opened this issue May 19, 2024 · 4 comments
Labels
area-deployment azure Issues associated specifically with scenarios tied to using Azure

Comments

@amolenk
Copy link

amolenk commented May 19, 2024

When using azd up to deploy to Azure, the container build emits a warning:

CONTAINER003: The property 'ContainerImageName' was set but is obsolete - please use 'ContainerRepository' instead.

Normally this isn't a problem because it's just a warning, but it'll break the deployment if you specify MSBuildTreatWarningsAsErrors to true (which is useful for maintaining code quality).

@davidfowl davidfowl added area-deployment azure Issues associated specifically with scenarios tied to using Azure and removed area-dashboard labels May 19, 2024
@davidfowl
Copy link
Member

cc @rajeshkamal5050

@efonsecab
Copy link

I also just got this issue when trying to publish directly from within Visual Studio:

image

@davidfowl
Copy link
Member

@vhvb1989

@vhvb1989
Copy link

vhvb1989 commented Jun 3, 2024

Fixed on Azure/azure-dev#3966.
Should be ready in azd-daily version in a couple hours.

Let me know if you have any questions. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-deployment azure Issues associated specifically with scenarios tied to using Azure
Projects
None yet
Development

No branches or pull requests

4 participants