title: Fail pipeline on unsuccessful docker push
body: <p>We currently have the problem that docker push returns a status code 0 (probably) even when push is not possible, which does not make the pipeline fail.</p>
  <p>Has anyone had a similar problem, or have an idea how to make the CI/CD pipeline fail?</p>
  <pre><code>$ docker image push $AWS_DOCKER_TAG
  The push refers to repository [xxxxxxxx.dkr.ecr.eu-central-1.amazonaws.com/xxx/xxx]
  fce64017e25a: Preparing
  8164ef4c9fbc: Preparing
  20a6acabd30e: Preparing
  89fa1cda9357: Preparing
  e68f51c5691a: Preparing
  60722b0109f0: Preparing
  d9e1d5ce0b7a: Preparing
  7c7b3f6c73cd: Preparing
  409de5294cfe: Preparing
  c7eff18f24e9: Preparing
  1a74fed35cc5: Preparing
  3d5f03415b60: Preparing
  182cc4cf1598: Preparing
  bb262ed90ed1: Preparing
  b00cb208a75d: Preparing
  e8b689711f21: Preparing
  no basic auth credentials
  
  
  Cleaning up file based variables
  00:01
  Job succeeded
  </code></pre>