Home > other >  Gitlab - ci. Yml, how to set a variable in a job, used for another job?
Gitlab - ci. Yml, how to set a variable in a job, used for another job?

Time:02-05

One problem is that currently meet
In build_job, I need to generate a docker mirror with the version number name,
In deploy_job, then use the name of mirror to automatic deployment,
Then I want to know, how to generate a mirror in build_job name variable, in deploy_job call?
.
But I try to use global variables, global variables cannot be assigned, or how to correct the assignment? In build_job assignment?
  • Related