- Webhook-based controller listens for push events from all repos - Auto-detects Dockerfile, triggers Kaniko build, pushes to registry - Updates gitops-infra kustomization with new image tag - Auto-scaffolds gitops environment for new projects - Ignores non-main branches and repos in ignore list (gitops-infra) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 lines
146 B
Docker
10 lines
146 B
Docker
FROM python:3.12-alpine
|
|
|
|
RUN apk add --no-cache git curl kubectl
|
|
|
|
WORKDIR /app
|
|
COPY controller.py .
|
|
|
|
EXPOSE 8080
|
|
CMD ["python3", "controller.py"]
|