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