landing-v4/.woodpecker.yml
jordan 1ecc897145
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fix: Use skip-tls-verify for HTTPS registry with self-signed cert
2026-01-29 03:31:14 +00:00

39 lines
886 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: 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
--skip-tls-verify
--skip-tls-verify-pull
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