chore: add a gitlab-ci script to build/push images

2 jobs for topic/default/gitlab-ci in 4 seconds (queued for 2 minutes and 58 seconds)
latest
Status Job ID Name Coverage
  Test
failed #116777
jenkins-docker
build-push

00:00:04

failed #69373
jenkins-docker
build-push

00:00:09

 
Name Stage Failure
failed
build-push Test
    check_call('docker', 'push', tag)
File "./build.py", line 36, in check_call
return subprocess.check_call(args)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('docker', 'push', 'logilab/cubicweb:py27-stretch')' returned non-zero exit status 1.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit status 1