35 lines
808 B
YAML
35 lines
808 B
YAML
pipeline:
|
|
build:
|
|
image: node:lts-buster@sha256:0999271122e2ab1d77c558b72ebfdd20f101469f521f880329eefdeeae4ef898
|
|
commands:
|
|
- npm install
|
|
- npm run build:ssr
|
|
docker:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
secrets:
|
|
- DOCKER_USERNAME
|
|
- DOCKER_PASSWORD
|
|
settings:
|
|
repo: samuelph/universal-statuspage
|
|
tags: latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
cr:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
secrets:
|
|
- source: CR_USERNAME
|
|
target: DOCKER_USERNAME
|
|
- source: CR_PASSWORD
|
|
target: DOCKER_PASSWORD
|
|
settings:
|
|
registry: cr.sp-codes.de
|
|
repo: cr.sp-codes.de/samuel-p/universal-statuspage
|
|
tags: latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|