savochek__
savochek__
CC#
Created by savochek__ on 10/1/2024 in #help
How to add an image tag to an Aspire's ProjectResource?
so I add my project like this:
var apiService = builder
.AddProject<Projects.Messenger_ApiService>("apiService")
.WithEnvironment("ASPNETCORE_URLS", "http://*:8080;https://*:8443");
var apiService = builder
.AddProject<Projects.Messenger_ApiService>("apiService")
.WithEnvironment("ASPNETCORE_URLS", "http://*:8080;https://*:8443");
I want to be able to set an image tag to it, but I can't since it isn't a ContainerResource and wasn't created using AddContainer. but why can't I apply an image tag to it? it also results in the image being pushed to the repository. I'm using Aspir8 and deploying to my Kubernetes cluster if that matters.
2 replies