I have a large Laravel project.
It was built with manual steps of building an image locally, tagging and pushing to AWS ECR.
The Dockerfile is multistage development and production.
MY thinking was on the CI steps, use the Dockerfile to build and run test suit
On creating a release candidate create image for production and push to AWS ECR
There are other steps but the above is the basic set up.
My question is, is this possible?
The alternative of using the same php base image and adding additional packages in the pipeline.yml file feels clonky.
Many thanks