9 writes to Tag
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
182var containerImageAnnotation = new ContainerImageAnnotation() { Image = image, Tag = tag };
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBExtensions.cs (1)
123Tag = CosmosDBEmulatorContainerImageTags.Tag
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
136Tag = EventHubsEmulatorContainerImageTags.Tag
Aspire.Hosting.Azure.Storage (1)
AzureStorageExtensions.cs (1)
104Tag = StorageEmulatorContainerImageTags.Tag
Aspire.Hosting.Containers.Tests (2)
ContainerImageAnnotationTests.cs (2)
21annotation.Tag = "latest"; 32Tag = "latest"
Aspire.Hosting.RabbitMQ (3)
RabbitMQBuilderExtensions.cs (3)
160annotation.Tag = RabbitMQContainerImageTags.ManagementTag; 174annotation.Tag = $"{tagPrefix}{management}{alpine}"; 180annotation.Tag = $"{existingTag}{management}";
49 references to Tag
Aspire.Hosting (2)
ApplicationModel\ResourceExtensions.cs (2)
244var tagSuffix = string.IsNullOrEmpty(imageAnnotation.Tag) ? string.Empty : $":{imageAnnotation.Tag}";
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (1)
204Assert.Equal(imageTag ?? EventHubsEmulatorContainerImageTags.Tag, containerImageAnnotation.Tag);
AzureResourceExtensionsTests.cs (1)
175var actualTag = containerImageAnnotation.Tag;
Aspire.Hosting.Containers.Tests (9)
ContainerImageAnnotationTests.cs (3)
20Assert.Null(annotation.Tag); 22Assert.Equal("latest", annotation.Tag); 38Assert.Null(annotation.Tag);
ContainerResourceBuilderTests.cs (4)
26Assert.Equal("1.0.0", redis.Resource.Annotations.OfType<ContainerImageAnnotation>().Single().Tag); 38Assert.Equal("latest", container.Resource.Annotations.OfType<ContainerImageAnnotation>().Single().Tag); 50Assert.Equal("latest", container.Resource.Annotations.OfType<ContainerImageAnnotation>().Last().Tag); 58Assert.Equal("7.1", redis.Resource.Annotations.OfType<ContainerImageAnnotation>().Single().Tag);
ContainerResourceTests.cs (2)
28Assert.Equal("latest", containerAnnotation.Tag); 47Assert.Equal("nightly", containerAnnotation.Tag);
Aspire.Hosting.Elasticsearch.Tests (2)
AddElasticsearchTests.cs (2)
51Assert.Equal(ElasticsearchContainerImageTags.Tag, containerAnnotation.Tag); 113Assert.Equal(ElasticsearchContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
37Assert.Equal(GarnetContainerImageTags.Tag, containerAnnotation.Tag); 65Assert.Equal(GarnetContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Kafka.Tests (1)
AddKafkaTests.cs (1)
50Assert.Equal(KafkaContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
39Assert.Equal(KeycloakContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Milvus.Tests (2)
AddMilvusTests.cs (2)
33Assert.Equal(MilvusContainerImageTags.Tag, containerAnnotation.Tag); 64Assert.Equal(MilvusContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.MongoDB.Tests (3)
AddMongoDBTests.cs (3)
39Assert.Equal(MongoDBContainerImageTags.Tag, containerAnnotation.Tag); 67Assert.Equal(MongoDBContainerImageTags.Tag, containerAnnotation.Tag); 122Assert.Equal("someothertag", containerAnnotation.Tag);
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (2)
50Assert.Equal(MySqlContainerImageTags.Tag, containerAnnotation.Tag); 90Assert.Equal(MySqlContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Nats.Tests (2)
AddNatsTests.cs (2)
38Assert.Equal(NatsContainerImageTags.Tag, containerAnnotation.Tag); 83Assert.Equal(NatsContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Oracle.Tests (3)
AddOracleTests.cs (3)
49Assert.Equal(OracleContainerImageTags.Tag, containerAnnotation.Tag); 89Assert.Equal(OracleContainerImageTags.Tag, containerAnnotation.Tag); 172Assert.Equal(OracleContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.PostgreSQL.Tests (5)
AddPostgresTests.cs (5)
59Assert.Equal(PostgresContainerImageTags.Tag, containerAnnotation.Tag); 114Assert.Equal(PostgresContainerImageTags.Tag, containerAnnotation.Tag); 206Assert.Equal(PostgresContainerImageTags.Tag, containerAnnotation.Tag); 412Assert.Equal("someothertag", containerAnnotation.Tag); 438Assert.Equal("8.3", imageAnnotation.Tag);
Aspire.Hosting.Qdrant.Tests (3)
AddQdrantTests.cs (3)
52Assert.Equal(QdrantContainerImageTags.Tag, containerAnnotation.Tag); 91Assert.Equal(QdrantContainerImageTags.Tag, containerAnnotation.Tag); 125Assert.Equal(QdrantContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
155var existingTag = annotation.Tag;
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (2)
87Assert.Equal(withManagementPlugin ? RabbitMQContainerImageTags.ManagementTag : RabbitMQContainerImageTags.Tag, containerAnnotation.Tag); 142Assert.Equal(expectedTag, containerAnnotation.Tag);
Aspire.Hosting.Redis.Tests (4)
AddRedisTests.cs (4)
46Assert.Equal(RedisContainerImageTags.Tag, containerAnnotation.Tag); 74Assert.Equal(RedisContainerImageTags.Tag, containerAnnotation.Tag); 157Assert.Equal("someothertag", containerAnnotation.Tag); 175Assert.Equal("someothertag", containerAnnotation.Tag);
Aspire.Hosting.SqlServer.Tests (1)
AddSqlServerTests.cs (1)
59Assert.Equal(SqlServerContainerImageTags.Tag, containerAnnotation.Tag);
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
37Assert.Equal(ValkeyContainerImageTags.Tag, containerAnnotation.Tag); 65Assert.Equal(ValkeyContainerImageTags.Tag, containerAnnotation.Tag);