add drone pipeline

This commit is contained in:
2019-09-18 11:47:24 -03:00
parent 42a3aab975
commit 7d14c0b1d6
2 changed files with 45 additions and 6 deletions

39
.drone.yml Normal file
View File

@@ -0,0 +1,39 @@
---
kind: pipeline
name: default
steps:
- name: build
image: eumau/drone-plugin-make
- name: docker
image: plugins/docker
settings:
repo: eumau/debian
auto_tag: true
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
---
kind: pipeline
name: tags
steps:
- name: docker
image: plugins/docker
settings:
repo: eumau/debian
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
tags:
- ${DRONE_TAG}
build_args:
- DEBIAN_VERSION=${DRONE_TAG}
trigger:
event:
- tag