Add .woodpecker.yml from template
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jordan 2026-01-29 01:48:32 +00:00
parent 1f1d012084
commit 05e21d169b

37
.woodpecker.yml Normal file
View File

@ -0,0 +1,37 @@
steps:
install:
image: node:20-alpine
commands:
- npm ci
when:
- event: [push, pull_request]
build:
image: node:20-alpine
commands:
- npm run build
when:
- event: [push, pull_request]
docker:
image: gcr.io/kaniko-project/executor:debug
commands:
- >
/kaniko/executor
--context .
--dockerfile Dockerfile
--destination zot.orchard9.ai/landing-v4:latest
--destination zot.orchard9.ai/landing-v4:${CI_COMMIT_SHA:0:8}
--cache=true
--insecure
when:
- event: push
branch: main
deploy:
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/landing-v4 landing-v4=zot.orchard9.ai/landing-v4:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main