Merge branch 'gitea1.0' of arif/ci-demo into master
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Arif Herusetyo Wicaksono 2019-11-12 08:09:07 +09:00 committed by Gitea
commit 39d2e38d81
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)