You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
466 B

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: node.js build
image: node:18
commands:
- "npm add --global pnpm"
- pnpm i
- pnpm run build
- name: container build
image: tomkukral/buildah
commands:
- "buildah build -f Dockerfile -t $DOCKER_REGISTRY/garrettmills/www ."
- "buildah push $DOCKER_REGISTRY/garrettmills/www"
environment:
DOCKER_REGISTRY:
from_secret: DOCKER_REGISTRY