I have 2 jobs:
- A build job that creates some .deb files and archives them as artifacts
- A deploy job that builds a docker image using these artifacts and pushes the image to the gitlab registry for the project
The deploy job is using the dind service with the docker:latest image as the job image. The first job completes and uploads the artifacts. The second job downloads the archives, but during the docker build step to create the output image, the dind service has no access to the /builds mount, and failes adding the files in the image.
Is this expected behavior? What is the recommended way to get artifacts from another job to be accessible to a dind service?