website_example/.drone.yml
sthope 70d72f4f12
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2021-09-05 01:30:30 +02:00

26 lines
404 B
YAML

kind: pipeline
name: default
steps:
- name: test
image: node
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