2019-12-16 13:02:51 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build with node
|
|
|
|
image: node:12
|
|
|
|
commands:
|
|
|
|
- npm install
|
2020-03-09 17:51:56 +00:00
|
|
|
- npm run install
|
2019-12-16 13:02:51 +00:00
|
|
|
- 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/authserver
|
|
|
|
registry: hibas123.azurecr.io
|
|
|
|
debug: true
|
2020-03-18 10:21:04 +00:00
|
|
|
when:
|
|
|
|
branch: master
|
2020-03-25 22:43:46 +00:00
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|