5 writes to OutputPath
Aspire.Hosting.Tests (5)
Publishing\ResourceContainerImageBuilderTests.cs (5)
98
OutputPath
= "/tmp/test-output",
207
OutputPath
= tempOutputPath,
247
OutputPath
= tempOutputPath,
376
OutputPath
= "/custom/path",
409
var options = new ContainerBuildOptions { ImageFormat = ContainerImageFormat.Oci,
OutputPath
= "/tmp/test-path" };
10 references to OutputPath
Aspire.Hosting (9)
Publishing\DockerContainerRuntime.cs (4)
23
if (string.IsNullOrEmpty(options?.
OutputPath
))
55
if (options?.ImageFormat is not null || !string.IsNullOrEmpty(options?.
OutputPath
))
65
if (!string.IsNullOrEmpty(options?.
OutputPath
))
67
outputType += $",dest={Path.Combine(options.
OutputPath
, resourceName)}.tar";
Publishing\PodmanContainerRuntime.cs (2)
37
if (!string.IsNullOrEmpty(options?.
OutputPath
))
41
arguments += $" --output \"{Path.Combine(options.
OutputPath
, resourceName)}.tar\"";
Publishing\ResourceContainerImageBuilder.cs (3)
262
if (!string.IsNullOrEmpty(options.
OutputPath
))
264
arguments += $" /p:ContainerArchiveOutputPath=\"{options.
OutputPath
}\"";
397
var hasNoOutputPath = options?.
OutputPath
== null;
Aspire.Hosting.Tests (1)
Publishing\ResourceContainerImageBuilderTests.cs (1)
381
Assert.Equal("/custom/path", options.
OutputPath
);