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