Closed novicecpp closed 2 months ago
@aspiringmind-code I do not understand the code here, and am trying to avoid learning what crane
is/does. Please make sure that you understand, so you can ask Wa in case.
We build image with temporary tag, then retag it to release the production image. We use crane
to do that instead docker
command.
crane explanation is in https://cmscrab.docs.cern.ch/crab-infrastructure/crab-cicd/gitlab/crab-specific-setup.html#crane
Context: https://github.com/dmwm/CRABServer/issues/8701 Test Pipeline: https://gitlab.cern.ch/crab3/CRABServer/-/pipelines/8174105
Also refactor retag stage a bit, move command into single job (only take 6 seconds).