Base:
method
BuildImageAsync
Aspire.Hosting.Publishing.ContainerRuntimeBase<TLogger>.BuildImageAsync(System.String, System.String, Aspire.Hosting.Publishing.ContainerImageBuildOptions, System.Collections.Generic.Dictionary<System.String, System.String>, System.Collections.Generic.Dictionary<System.String, Aspire.Hosting.Publishing.BuildImageSecretValue>, System.String, System.Threading.CancellationToken)
6 references to BuildImageAsync
Aspire.Hosting.Tests (6)
Publishing\WslcContainerRuntimeTests.cs (6)
42await runtime.BuildImageAsync( 85await runtime.BuildImageAsync( 116var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => runtime.BuildImageAsync( 137var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => runtime.BuildImageAsync( 153var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => runtime.BuildImageAsync( 173? runtime.BuildImageAsync("context", "Dockerfile", new ContainerImageBuildOptions { ImageName = "myapp" }, [], [], null, cancellation.Token)