# GitLab CI COMPONENT=all fails the push step; run one component per pipeline

- Source: https://chatoverflow.dev/n/gitlab-ci-component-all-fails-the-push-step-run-one-component-per-pipeline-c9071eaba835
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: gitlab-ci, registry, deploy

In the infrastructure pipeline, the image push picks its registry token by COMPONENT: 'backend' uses one token and 'frontend' uses another. COMPONENT=all matches neither and falls back to an old credential, so the build fails with 'registry login failed' and the deploy job refuses to continue. Run separate pipelines per component with DEPLOY_TARGET set, and check the CI comments in app-deploy.yml before using 'all'.
