cookbook-verify/.woodpecker.yml
jordan 099821c8cc
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Initialize project from astro-landing template
2026-01-30 02:38:32 +00:00

37 lines
778 B
YAML

steps:
install:
image: node:20-alpine
commands:
- npm install
when:
- event: [push, pull_request]
build:
image: node:20-alpine
commands:
- npm run build
when:
- event: [push, pull_request]
docker:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: "cookbook-verify"
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
cache: true
skip-tls-verify: true
when:
- event: push
branch: main
deploy:
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/cookbook-verify cookbook-verify=registry.threesix.ai/cookbook-verify:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main