You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
498 B
32 lines
498 B
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust:latest
|
|
commands:
|
|
- cargo install just
|
|
- just test
|
|
|
|
- name: build
|
|
image: rust:alpine
|
|
commands:
|
|
- cargo install just
|
|
- just dist
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: api_key
|
|
base_url: https://git.schneider-hosting.de
|
|
files: dist/*
|
|
when:
|
|
event:
|
|
- tag
|
|
depends_on:
|
|
- build
|