26 lines
498 B
YAML
26 lines
498 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: server-build
|
|
image: node:latest
|
|
commands:
|
|
- npm install
|
|
|
|
- name: docker-build
|
|
image: plugins/docker
|
|
settings:
|
|
registry: code.anufrij.de
|
|
repo: code.anufrij.de/webplay/server
|
|
tags: latest
|
|
dockerfile: ./docker/Dockerfile
|
|
username:
|
|
from_secret: username
|
|
password:
|
|
from_secret: password
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
exclude:
|
|
- pull_request |