Skip to content

ci(image-compliance): push-guard, date tags, hadolint + trivy gates#3

Merged
Headgent merged 1 commit into
developfrom
fix/image-compliance
Jun 13, 2026
Merged

ci(image-compliance): push-guard, date tags, hadolint + trivy gates#3
Headgent merged 1 commit into
developfrom
fix/image-compliance

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

P2-phpcli (C1–C7)

Hebt phpcli auf Fleet-Compliance — Pilot für das do-git-update-Image-Profil.

  • C1 Push-Guard — Build&push nur bei != pull_request: build on PR, publish on merge. (Heute pushen PR-Builds live.)
  • C2 Datums-TagsIMAGE_DATE + immutable :<php>-YYYYMMDD neben den moving Tags → Rollback/Reproduzierbarkeit (E2).
  • C3 hadolint — Lint-Job + .hadolint.yaml mit 3 begründeten Base-Image-Ignores (DL3018/DL4006/SC2086). Lokal Exit 0. Wird erst nach dem Merge Required Check (sonst PR-Blockade).
  • C4 trivy-report — non-blocking HIGH/CRITICAL-Scan der gepushten Images ins Job-Summary (E6/F3).
  • C5 ghcr-Cleanup — toter ghcr-Login + packages: write entfernt.
  • C6 Pfad-Filtersupport/makefile/**, .hadolint.yaml ergänzt.
  • C7 README — Tag-Schema (moving vs. immutable) + Konsumenten-Empfehlung (E3).

QA lokal grün: make test-all PHP_VERSION=8.4 (amd64+arm64), hadolint Exit 0.

Plan: PLAN_2026-06-12_jardisops-image-compliance.md, Tasks C0–C8.

…ghcr cleanup

P2-phpcli (C1-C7) aus PLAN_2026-06-12_jardisops-image-compliance:
- C1 Push-Guard: Build&push-Step nur bei != pull_request (build on PR, publish on merge)
- C2 Datums-Tags: IMAGE_DATE + immutable :<php>-YYYYMMDD neben moving Tags (Rollback)
- C3 hadolint-Job + .hadolint.yaml (3 begründete Base-Image-Ignores: DL3018/DL4006/SC2086)
- C4 trivy-report: non-blocking HIGH/CRITICAL-Scan der gepushten Images ins Job-Summary
- C5 ghcr-Login + packages:write entfernt (toter Code, nichts pusht nach ghcr)
- C6 Pfad-Filter: support/makefile/**, .hadolint.yaml ergänzt
- C7 README: Tag-Schema (moving vs. immutable) + Konsumenten-Empfehlung
@Headgent Headgent merged commit 850cad7 into develop Jun 13, 2026
6 checks passed
@Headgent Headgent deleted the fix/image-compliance branch June 13, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant