5 writes to OutputPath
Aspire.Hosting.Tests (5)
Publishing\ResourceContainerImageBuilderTests.cs (5)
99OutputPath = "/tmp/test-output", 209OutputPath = tempOutputPath, 250OutputPath = Path.Combine(tempDir.Path, "NewFolder"), // tests that the folder is created if it doesn't exist 379OutputPath = "/custom/path", 540var options = new ContainerBuildOptions { ImageFormat = ContainerImageFormat.Oci, OutputPath = "/tmp/test-path" };
11 references to OutputPath
Aspire.Hosting (10)
Publishing\DockerContainerRuntime.cs (4)
28if (string.IsNullOrEmpty(options?.OutputPath)) 60if (options?.ImageFormat is not null || !string.IsNullOrEmpty(options?.OutputPath)) 70if (!string.IsNullOrEmpty(options?.OutputPath)) 72outputType += $",dest={Path.Combine(options.OutputPath, resourceName)}.tar";
Publishing\PodmanContainerRuntime.cs (2)
41if (!string.IsNullOrEmpty(options?.OutputPath)) 45arguments += $" --output \"{Path.Combine(options.OutputPath, resourceName)}.tar\"";
Publishing\ResourceContainerImageBuilder.cs (4)
276if (!string.IsNullOrEmpty(options.OutputPath)) 278arguments += $" /p:ContainerArchiveOutputPath=\"{options.OutputPath}\""; 375if (options?.OutputPath is { } outputPath) 482var hasNoOutputPath = options?.OutputPath == null;
Aspire.Hosting.Tests (1)
Publishing\ResourceContainerImageBuilderTests.cs (1)
384Assert.Equal("/custom/path", options.OutputPath);