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

This commit is contained in:
jordan 2026-01-29 23:45:31 +00:00
parent 8be7df8b06
commit 2189d899b4

36
.woodpecker.yml Normal file
View File

@ -0,0 +1,36 @@
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: "e2e-test-0329"
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/e2e-test-0329 e2e-test-0329=registry.threesix.ai/e2e-test-0329:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main