website_example/.drone.yml
2021-09-05 01:23:03 +02:00

25 lines
394 B
YAML

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
auto_tag: true
force_tag: true