fs3/.woodpecker.yml
rdev-worker 296401abbc
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
build: Build a full-stack task management application with the following str...
2026-01-31 07:44:20 +00:00

42 lines
1.0 KiB
YAML

steps:
build-backend:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: "fs3-backend"
context: backend
dockerfile: backend/Dockerfile
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
cache: true
skip-tls-verify: true
when:
- event: push
branch: main
build-frontend:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: "fs3-frontend"
context: frontend
dockerfile: frontend/Dockerfile
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/fs3-backend backend=registry.threesix.ai/fs3-backend:${CI_COMMIT_SHA:0:8} -n projects
- kubectl set image deployment/fs3-frontend frontend=registry.threesix.ai/fs3-frontend:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main