Skip to content
Snippets Groups Projects
Commit 94bb65d9 authored by Éloïs's avatar Éloïs
Browse files

ci: add job build_release

parent 7101e0be
No related branches found
No related tags found
No related merge requests found
Pipeline #15934 passed
stages:
- quality
- package
- build
- publish
.env:
image: rust:latest
......@@ -28,8 +29,20 @@ fmt_and_clippy:
- cargo clippy -- -V
- cargo clippy --all --tests -- -D warnings --verbose
build_release:
extends: .env
stage: build
script:
- cargo build --locked --release
- mkdir build
- mv target/release/gitbot build/gitbot
artifacts:
paths:
- build/
expire_in: 3 day
.docker-build-app-image:
stage: package
stage: publish
image: docker:18.06
tags:
- redshift
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment