We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab599ac commit 492a2a3Copy full SHA for 492a2a3
src/components/dockerRegistry/Docker.tsx
@@ -796,10 +796,10 @@ const DockerForm = ({
796
selectedDockerRegistryType.value === RegistryType.GCR
797
? {
798
username: trimmedUsername,
799
- password: JSON.stringify(JSON.parse(parsePassword(customState.password.value) || '{}')).replace(
800
- /\{\}/g,
801
- '',
802
- ),
+ password:
+ customState.password.value === DEFAULT_SECRET_PLACEHOLDER
+ ? ''
+ : `'${JSON.stringify(JSON.parse(customState.password.value))}'`,
803
}
804
: {}),
805
...(registryStorageType !== RegistryStorageType.OCI_PUBLIC &&
0 commit comments