mkdir

3 jobs for master in 30 seconds (queued for 26 seconds)
Status Job ID Name Coverage
  .Pre
passed #76310
make-targets

00:00:18

 
  Build
passed build-images

 
  Publish
failed #76312
publish-docker

00:00:12

 
Name Stage Failure
failed
publish-docker Publish
Downloading artifacts for make-targets (76310)...
Downloading artifacts from coordinator... ok
id=76310 responseStatus=200 OK token=g8L2MkLt
Executing "step_script" stage of the job script
$ mkdir -p /root/.docker
/bin/sh: eval: line 120: syntax error: unexpected end of file (expecting "done")
$ echo "{ # collapsed multi-line command
$ for OCAML_VERSION in $(cat ocaml-versions); do BASETAG=${OCAML_VERSION%.*}-$(date +%F); SRC_IMG=$CI_REGISTRY_IMAGE:$BASETAG; docker pull $SRC_IMG; for TAG in ${BASETAG} ${OCAML_VERSION} ${OCAML_VERSION%.*} $([ "$OCAML_VERSION" = $(tail -n1 ocaml-versions) ] && echo "latest") ; do docker tag $SRC_IMG $DOCKERHUB_IMAGE:${TAG}; docker push $DOCKERHUB_IMAGE:${TAG}; done; docker rmi $SRC_IMG done
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 2