landing-v4/.woodpecker.yml
jordan 872353a539
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: use repo/tags format instead of destinations for Kaniko
2026-01-29 07:55:30 +00:00

36 lines
776 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: registry.threesix.ai/landing-v4
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/landing-v4 landing-v4=registry.threesix.ai/landing-v4:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main