I’m administrating a couple of websites which we want to deploy within docker containers. All of these websites basically use the same nginx and php container configuration. The idea is to create base projects for both container types so these container images can be reused for the deployment of all of these websites.
In the website specific gitlab-ci.ymls there a three stages: On for creating artifacts to be used in later stages, a build stage and a deploy stage. The build stage mainly consists of the two bridge jobs to start the build process of the base containers which look like this:
When running the pipeline the bridge jobs run successfully, the containers are being built but the following deployment job which would pull the built container images from the base containers repositories and run my compose.yml to deploy the containers will not start.
Is this even possible? Can the upstream pipeline continue with the next job after the downstream pipelines have succeeded? If not what would be a good way to use base images in multiple projects without having them stored in each project’s own container registry?