Merge branch 'gitea1.0' of arif/ci-demo into master
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
commit
43ec718793
51
.drone.yml
51
.drone.yml
@ -1,17 +1,34 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: gcc:4.9
|
||||
commands:
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
gitea_release:
|
||||
image: plugins/gitea-release
|
||||
base_url: https://git.wicak.co
|
||||
secrets: [ gitea_token ]
|
||||
files: bin/*
|
||||
checksum:
|
||||
- sha1
|
||||
- sha256
|
||||
when:
|
||||
event: tag
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc:4.9
|
||||
commands:
|
||||
- make clean
|
||||
- make
|
||||
- make install
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: release
|
||||
|
||||
steps:
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.wicak.co
|
||||
files: bin/*
|
||||
checksum:
|
||||
- sha1
|
||||
- sha256
|
||||
when:
|
||||
event: tag
|
||||
|
||||
trigger:
|
||||
branch: master
|
||||
event: tag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user