set build stage pass in next stage
Pipeline cki-pipeline/pipelines/281973 shows a case of timeout after the build has finished, but before the stage could be exited. Because of this, "stage_build = pass" gets written to rc-file, even though the pipeline failed and didn't proceed towards publish stage and others.
This patch moves setting stage_build = pass to the beginning of the publish stage, which should hopefully be mandatory.
Signed-off-by: Jakub Racek jracek@redhat.com