pipeline:
build:
image: node:lts-buster@sha256:d317f8e5212cb907df14c766f8043695bc7abc98ce4ad5540b032d1881fca42d
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:
- source: CR_USERNAME
target: DOCKER_USERNAME
- source: CR_PASSWORD
target: DOCKER_PASSWORD
registry: cr.sp-codes.de
repo: cr.sp-codes.de/samuel-p/universal-statuspage