Skip to content

Commit 71fd9e0

Browse files
committed
fix(ci): separate image license inventory from security findings
1 parent 297494b commit 71fd9e0

5 files changed

Lines changed: 14 additions & 3 deletions

File tree

‎.github/workflows/cd.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ jobs:
9393
- name: Scan candidate image
9494
env:
9595
IMAGE_REF: ${{ env.IMAGE }}@${{ steps.build.outputs.digest }}
96-
run: mise exec -- trivy --config trivy.yaml image --skip-dirs '' --platform linux/amd64 "$IMAGE_REF"
96+
run: mise exec -- trivy --config trivy.yaml image --skip-dirs '' --platform linux/amd64 --scanners misconfig,secret,vuln "$IMAGE_REF"
97+
- name: Record license inventory
98+
env:
99+
IMAGE_REF: ${{ env.IMAGE }}@${{ steps.build.outputs.digest }}
100+
# Debian ships reciprocal licenses; inventory them separately from security findings.
101+
run: mise exec -- trivy --config trivy.yaml image --skip-dirs '' --platform linux/amd64 --scanners license --exit-code 0 "$IMAGE_REF"
97102
- name: Promote verified digest
98103
env:
99104
IMAGE_REF: ${{ env.IMAGE }}@${{ steps.build.outputs.digest }}

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## [7.0.1] - 2026-10-12
6+
7+
- Separate the Debian license inventory from the vulnerability, secret and misconfiguration image gate.
8+
59
## [7.0.0] - 2026-10-12
610

711
- **Breaking:** training and serving inputs exclude `casual` and `registered`. Retrain historical registered models before sending feature-only inputs.

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,3 +1145,5 @@ This section provides resources for building packages for Python and AI/ML/MLOps
11451145
`mise run clean` removes caches and build outputs while preserving MLflow databases, run artifacts, and predictions. Back up experiment state before any deliberate manual reset.
11461146

11471147
Use `mise run mlflow:serve` to browse experiments created by local jobs: their artifact URIs contain host paths. Compose can serve metadata from the same SQLite file, but those host paths are not automatically available inside the container. For new HTTP-first experiments, configure clients to reach the server and choose server-accessible artifact storage.
1148+
1149+
The release image gate checks vulnerabilities, secrets and misconfigurations. It records license classifications separately: the Debian base includes reciprocal licenses that require an inventory, rather than a blanket license prohibition.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[project]
77
name = "bikes"
8-
version = "7.0.0"
8+
version = "7.0.1"
99
description = "Predict hourly bike rental demand."
1010
authors = [{ name = "Médéric HURIER", email = "github@fmind.dev" }]
1111
readme = "README.md"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)