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
528 stars 223 forks source link

docker push fails with retrying after docker login #1284

Open 1633605 opened 2 years ago

1633605 commented 2 years ago

Describe the bug docker push fails with retrying after docker login is succeeded.

To Reproduce docker login works as expected but not able to push

Expected behavior image should be able to push, however maven artifact publish works as expected in the same workflow Screenshots image

Versions

Additional context Add any other context about the problem here.

chenshap commented 2 years ago

hello, we have encountered with the same issue do you have any resolution for this?

nchejara commented 2 years ago

I encounter the same issue. I fix it by adding the repository name in the tag.

For example Image tag Name: ghedemo.gfrog.io/default-docker-local/calculator-api:latest default-docker-local/

Or-Geva commented 2 years ago

JFrog-CLI pushes images using the docker client on the host. @nchejara may be right and the cause of this issue could be the structure of the image tag.

stiliajohny commented 1 month ago

Having same issue, any solutions ?

eyalbe4 commented 1 month ago

@stiliajohny, Since we started managing issues that are related to JFrog's Security offering in https://github.com/jfrog/jfrog-cli-security a few months ago, it'll be good if you report this issue there. Thank you!