Amit Choudhary:
yes
Deepak Kumar:
what is the error while pushing the image?
Amit Choudhary:
running the pipeline
Amit Choudhary:
will let you know ?
Deepak Kumar:
ok
Amit Choudhary:
have you worked with circleci in production ?
Deepak Kumar:
no but have worked on jenkins and bitbucket pipelines
Amit Choudhary:
like can use bitbucket pipeline to push the image to dockerhub and then deploy to target server ?
Amit Choudhary:
Warning: Permanently added '104.154.175.169' (ECDSA) to the list of known hosts.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
<https://docs.docker.com/engine/reference/commandline/login/#credentials-store>
Login Succeeded
Error response from daemon: pull access denied for ***************/my-nextjs-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Exited with code exit status 1
Amit Choudhary:
again got this error
Deepak Kumar:
yes it works in the same way, but there to ssh you have to use the pipes.
Deepak Kumar:
check your docker repository does it have the image
Amit Choudhary:
yes
Amit Choudhary:
it’s there
Deepak Kumar:
share me your image link
Amit Choudhary:
docker pull amitchoudhary47/my-nextjs-app:latest
Deepak Kumar:
generate a temprory login token of your docker hub or just share me the password of it, send it in my private message
Amit Choudhary:
like it’s public now
Amit Choudhary:
password should not be required
Deepak Kumar:
ok