24 lines
476 B
YAML
24 lines
476 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Build with node
|
|
image: node:12
|
|
commands:
|
|
- 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]
|