4 ms·
The image may be determined at runtime, but it’s not required to exist until a runner picks up the job. So use the $CI_COMMIT_SHA in the image name and push the
by skinner927 3y ago
The image may be determined at runtime, but it’s not required to exist until a runner picks up the job. So use the $CI_COMMIT_SHA in the image name and push the image in a job that runs before the other jobs that use the image.
You might also want to look into Downstream Pipelines.
- codethief 3y ago(Please see https://news.ycombinator.com/item?id=38527692 https://news.ycombinator.com/item?id=38527692 for a correction of my original comment.) The issue is that the IMAGE field in YAML doesn't pick up environment variables that are being passed on from a previous job via a dotenv artifact. As for downstream pipelines, please see https://news.ycombinator.com/item?id=38525954 https://news.ycombinator.com/item?id=38525954