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
Fabian Stamm 39a613a3f1
All checks were successful
continuous-integration/drone/push Build is passing
Add new registry to drone build
2020-10-28 01:03:59 +01:00

25 lines
532 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Build with node
image: node:14
commands:
- npm config set registry https://npm.hibas123.de
- 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]