2019-09-20 16:11:36 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: install
|
|
|
|
image: node:10.15-alpine
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
- name: deploy
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: registry.cliffbreak.de
|
|
|
|
repo: registry.cliffbreak.de/landingpage
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
- deployment
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|