jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
538 stars 235 forks source link

jf podman-push not support --tls-verify=false #2725

Open j1an5 opened 1 month ago

j1an5 commented 1 month ago

Is there a way to set the option?

$ jf rt podman-push 192.168.56.101:8082/docker-local/nginx:podmanv1 docker-local
Login Succeeded!
Getting image source signatures
Copying blob sha256:1040838fe30e6f26d31bde96c514f47ee4bf727b3f1c3c7b045ea3891c1c2150
Copying blob sha256:a29cc9587af6488ae0cbb962ecbe023d347908cc62ca5d715af06e54ccaa9e36
Copying blob sha256:8553b91047dad45bedc292812586f1621e0a464a09a7a7c2ce6ac5f8ba2535d7
Copying blob sha256:5684be535bf11cb9ad1a57b51085f36d84ae8361eabc2b4c2ba9a83e8b084b20
Copying blob sha256:6bc8ae8fb3cf0909b3d9c2e74f6cabe16e6a2322c52cec76fbaecaef47006f1d
Copying blob sha256:93ee76f39c974e4f819e632149c002d6f509aadc5995ec6523a96b337751c8ed
Error: trying to reuse blob sha256:8553b91047dad45bedc292812586f1621e0a464a09a7a7c2ce6ac5f8ba2535d7 at destination: pinging container registry 192.168.56.101:8082: Get "https://192.168.56.101:8082/v2/": remote error: tls: unrecognized name
exit status 125
j1an5 commented 1 month ago

on Mac. push failed

$ cat ~/.config/containers/registries.conf
[[registry]]
location = '192.168.56.101:8082'
insecure = true

on Linux. working well

# cat /etc/containers/registries.conf
[[registry]]
location = "192.168.56.101:8082"
insecure = true