How to split tasks between CI/CD?
retained text
I am building a ci/cd pipeline. When a PR is merged, it will push a docker image to ECR, but when I am just pushing a regular commit, I don't want to run the full deployment. What task goes into ci and what goes into cd? I've seen different takes on where to run the docker-related stuff. \- CI (always runs on push/merge): * lint * scan (security, etc) * build * test (unit/integration) * test docker image build ??? \- CD (only runs on merge): * build docker image * automated e2e (if any) * upload binaries to Nexus * upload image to ECR
document fetched 2026-10-07 00:24 · canonical https://reddit.com/r/devops/comments/1wz7zn9/how_to_split_tasks_between_cicd