From 80732fa1e12480b59de3f0a4e054cb73cfc0b55f Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Sat, 12 Feb 2022 17:45:38 -0500 Subject: [PATCH] Only docker build now occures during main pushes --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93c57c3..988e815 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ build-x64-bin: tags: - linux rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + - if: $CI_COMMIT_TAG script: - cargo build --release - cd target/release @@ -74,7 +74,7 @@ build-arm-bin: stage: build image: 'rust:latest' rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + - if: $CI_COMMIT_TAG script: - rustup target add armv7-unknown-linux-gnueabihf - apt update @@ -96,7 +96,7 @@ build-win-bin: tags: - windows rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_TAG script: - cargo build --release artifacts: