Only docker build now occures during main pushes
This commit is contained in:
parent
8a5ba5a0b1
commit
80732fa1e1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue