Explorar el Código

docker image shall only be created if compile was successful

Alexander Raschke hace 2 años
padre
commit
7a74481f83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .gitlab-ci.yml

+ 1 - 1
.gitlab-ci.yml

@@ -28,7 +28,7 @@ build-docker-image:
     entrypoint: [""]
   rules:
     - if: '$CI_COMMIT_BRANCH == "master"'
-      when: always
+      when: on_success
   dependencies:
     - compile