Update .gitlab-ci.yml
Update CI/CD pipeline as per best practices highlighted in https://about.gitlab.com/handbook/engineering/gitlab-repositories/#cicd-configuration
Update CI/CD pipeline as per best practices highlighted in https://about.gitlab.com/handbook/engineering/gitlab-repositories/#cicd-configuration