Update drone to version 1.0 #3

Manually merged
arif merged 2 commits from gitea1.0 into master 2019-11-12 08:09:08 +09:00
2 changed files with 35 additions and 17 deletions

View File

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

View File

@ -1,2 +1,3 @@
# ci-demo
[![Build Status](https://ci.wicak.co/api/badges/arif/ci-demo/status.svg)](https://ci.wicak.co/arif/ci-demo)