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: kind: pipeline
build: type: docker
name: build
steps:
- name: build
image: gcc:4.9 image: gcc:4.9
commands: commands:
- make clean - make clean
- make - make
- make install - make install
gitea_release:
---
kind: pipeline
type: docker
name: release
steps:
- name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.wicak.co base_url: https://git.wicak.co
secrets: [ gitea_token ]
files: bin/* files: bin/*
checksum: checksum:
- sha1 - sha1
- sha256 - sha256
when: when:
event: tag event: tag
trigger:
branch: master
event: tag

View File

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