|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable ASPIREPIPELINES003
namespace Aspire.Hosting.Publishing;
internal interface IContainerRuntime
{
string Name { get; }
Task<bool> CheckIfRunningAsync(CancellationToken cancellationToken);
Task BuildImageAsync(string contextPath, string dockerfilePath, string imageName, ContainerBuildOptions? options, Dictionary<string, string?> buildArguments, Dictionary<string, string?> buildSecrets, string? stage, CancellationToken cancellationToken);
Task TagImageAsync(string localImageName, string targetImageName, CancellationToken cancellationToken);
Task PushImageAsync(string imageName, CancellationToken cancellationToken);
}
|