yaml / yaml (pull_request) Successful in 23s
Install image-reflector and image-automation controllers, track the digest behind backstage:latest, and let flux-bot commit digest updates to main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
766 B
YAML
29 lines
766 B
YAML
# Commits digest changes straight to main (no PR): dev images are expected to
|
|
# deploy as soon as CI pushes them. Scoped to apps/backstage so a stray setter
|
|
# elsewhere cannot be rewritten.
|
|
apiVersion: image.toolkit.fluxcd.io/v1
|
|
kind: ImageUpdateAutomation
|
|
metadata:
|
|
name: homelab-infra
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 1m
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: homelab-infra-write
|
|
git:
|
|
checkout:
|
|
ref:
|
|
branch: main
|
|
commit:
|
|
author:
|
|
name: flux-bot
|
|
email: [email protected]
|
|
messageTemplate: |
|
|
chore(image): update {{ range .Changed.Changes }}{{ .OldValue }} -> {{ .NewValue }} {{ end }}
|
|
push:
|
|
branch: main
|
|
update:
|
|
path: ./apps/backstage
|
|
strategy: Setters
|