-
+ {#if isPushMode}
+
+ {#if registryLoadError}
+
{m.build_push_registry_permission()}
+ {:else if registryOptions.length === 0}
+
{m.build_push_registry_none()}
+ {/if}
+
+
+ {#if $inputs.registryId.value && repositoryOptions.length === 0 && !registryLoadError}
+
{m.build_push_repository_empty()}
+ {/if}
+
+
+
+ {#if fullImageReference}
+
+
+ {m.build_push_reference_label()}
+
+
+ {fullImageReference}
+
+
+ {/if}
+ {:else}
+
+ {/if}
;
tags: FormInput;
+ registryId: FormInput;
+ repositoryName: FormInput;
+ pushTag: FormInput;
target: FormInput;
buildArgs: FormInput;
labels: FormInput;
diff --git a/types/containerregistry/container_registry.go b/types/containerregistry/container_registry.go
index 7388e89d2d..3f079e5b01 100644
--- a/types/containerregistry/container_registry.go
+++ b/types/containerregistry/container_registry.go
@@ -39,6 +39,12 @@ type ContainerRegistry struct {
// Required: true
RegistryType string `json:"registryType"`
+ // RepositoryNames is the list of pre-configured repository namespace
+ // strings available for selection when pushing images from the build page.
+ //
+ // Required: false
+ RepositoryNames []string `json:"repositoryNames"`
+
// AWSAccessKeyID is the AWS Access Key ID for ECR registries.
//
// Required: false
@@ -185,6 +191,12 @@ type Sync struct {
// Required: true
RegistryType string `json:"registryType"`
+ // RepositoryNames is the list of pre-configured repository namespace
+ // strings available for selection when pushing images from the build page.
+ //
+ // Required: false
+ RepositoryNames []string `json:"repositoryNames"`
+
// AWSAccessKeyID is the AWS Access Key ID for ECR registries.
//
// Required: false