From 05e21d169bb6f772b548227d1f33bf9a7469fe0c Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 29 Jan 2026 01:48:32 +0000 Subject: [PATCH] Add .woodpecker.yml from template --- .woodpecker.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..3417143 --- /dev/null +++ b/.woodpecker.yml @@ -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