master
md 17 lines 335 Bytes
Rendered Raw
1 # PushImageOptions
2
3 ```csharp
4 public sealed class PushImageOptions
5 {
6 public PushImageOptions(string image, string registryAuth);
7
8 public string Image { get; set; }
9 public string RegistryAuth { get; set; }
10 }
11 ```
12
13 Example:
14
15 ```csharp
16 var pushOptions = new PushImageOptions("registry.example.com/demo:latest", authToken);
17 ```