Add '.drone.yml'
This commit is contained in:
parent
96a97966c3
commit
be9270467c
26
.drone.yml
Normal file
26
.drone.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: node:alpine
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm test
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/docker
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
settings:
|
||||||
|
repo: sthopeless/website_example
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
tags = [
|
||||||
|
- latest
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
auto_tag: true
|
||||||
|
force_tag: true
|
Loading…
x
Reference in New Issue
Block a user