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