Explorar o código

docker image shall only be created if compile was successful

Alexander Raschke %!s(int64=2) %!d(string=hai) anos
pai
achega
7a74481f83
Modificáronse 1 ficheiros con 1 adicións e 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