Procházet zdrojové kódy

docker image shall only be created if compile was successful

Alexander Raschke před 2 roky
rodič
revize
7a74481f83
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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