ソースを参照

docker image shall only be created if compile was successful

Alexander Raschke 2 年 前
コミット
7a74481f83
1 ファイル変更1 行追加1 行削除
  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