I would like to build and publish docker images in two separate stages:
- build
- publish
Unfortunately, Gitlab runs those stages inside different workers - ci-runner-worker11 and ci-runner-worker15. Therefore images built in the first stage are not visible in the second stage. Do you know a clean solution to have this separation and be able to pass those artifacts between stages?
I've tried this solution:
container_images:
stage: build
artifacts:
untracked: true
image: ...
...
push_images:
stage: publish
dependencies:
- container_images
...
Unfortunately, I get an error:
untracked: found 170 files
ERROR: Uploading artifacts as "archive" to coordinator... too large archive id=15085670 responseStatus=413 Request Entity Too Large status=413
FATAL: too large