Only docker build now occures during main pushes

This commit is contained in:
Joe Bellus 2022-02-12 17:45:38 -05:00
parent 8a5ba5a0b1
commit 80732fa1e1
1 changed files with 3 additions and 3 deletions

View File

@ -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: