Skip to content
Docs Try Aspire

ContainerImagePushOptionsCallbackContext

Class sealed net10.0
📦 Aspire.Hosting v13.1.2
Provides context information for container image push options callbacks.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerImagePushOptionsCallbackContext
{
// ...
}
This context is passed to callbacks registered via ResourceBuilderExtensions.WithImagePushOptions. Callbacks can use this context to access the resource being configured and modify the ContainerImagePushOptionsCallbackContext.Options to customize how the container image is named and tagged when pushed to a registry.