I want to use bitbucket pipeline for CI-CD. Right now I am doing it manually i.e. building spring boot application and then build a docker image and push it to the docker hub. Then in AWS ec2 server, I am pulling the latest image, stop the previous running container, start the latest docker build.
I want to set these step automatically using bitbucket pipeline and aws.
Thanks
Hi @piyush05 ,
Did you find a solution?
I had below problem while trying to build spring-boot docker image in Bitbucket pipeline
msg="AuthZRequest for POST /v1.24/containers/create returned error:
authorization denied by plugin pipelines:
-v only supports $BITBUCKET_CLONE_DIR and its subdirectories"
Similar problem: https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/Spring-Boot-docker-build-with-build-image-fails-on-Bitbucket/qaq-p/1647605
Hi @piyush05,
Our Pipes integrations with AWS should be able to help you out here, have a look at https://bitbucket.org/product/features/pipelines/integrations and see the documentation.
Alternatively there are few references that might be helpful like https://medium.com/@rohitgoyal/use-of-bitbucket-pipelines-to-deploy-spring-boot-application-in-google-app-engine-578da6fa9a42
If that doesn't answer your question please share where you're stuck with your bitbucket-pipelines.yml file so we can help you out.
Thanks,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.