This repository has been archived on 2021-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
RealtimeDB-OLD/.drone.yml

25 lines
532 B
YAML
Raw Normal View History

2020-01-18 13:40:35 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: Build with node
2020-10-28 00:03:59 +00:00
image: node:14
2020-01-18 13:40:35 +00:00
commands:
2020-10-28 00:03:59 +00:00
- npm config set registry https://npm.hibas123.de
2020-01-18 13:40:35 +00:00
- npm install
- npm run build
- name: Publish to docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
repo: hibas123.azurecr.io/realtimedb
registry: hibas123.azurecr.io
debug: true
when:
branch: [master]