CI: stash the tag for gitlab-rails-x vs recalc
Closes gitlab-org/charts/gitlab#1603 (closed)
Move to using a stashed tag value for the rails_container
value
vs recalculating between jobs. This will prevent rails-based containers
from failing if the pipeline crosses UTC midnight mid-run.
- Move all stashed "image" values to
artifacts/images
, to handlesync-images
job's glob of the directory. - Stash and use the
$CONTAINER_VERSION
fromgitlab-rails-*
jobs intoartifacts/rails_container.txt
and consume that in all jobs building on top of that image.
This should be backported to stable branches back to v12.1.x
Edited by Jason Plum