Skip to content

Commit 3cb62f2

Browse files
Run the security rebuild daily (#112)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c015d1c commit 3cb62f2

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/security-rebuild.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Weekly Security Rebuild
1+
name: Daily Security Rebuild
22

3-
# Rebuild weekly to pick up Go toolchain and OS patches, republishing only when it clears a CVE (COSY-926).
3+
# Rebuild daily to pick up Go toolchain and OS patches, republishing only when it clears a CVE (COSY-926).
44

55
on:
66
schedule:
7-
- cron: "0 8 * * TUE"
7+
- cron: "0 8 * * *"
88
workflow_dispatch:
99
inputs:
1010
dry_run:
@@ -115,7 +115,7 @@ jobs:
115115
fi
116116
117117
- name: Report CVEs a rebuild cannot fix
118-
# Surface these instead of no-op'ing weekly until the SLA on the secops ticket burns.
118+
# Surface these instead of no-op'ing daily until the SLA on the secops ticket burns.
119119
if: steps.before.outputs.proceed == 'true' && steps.delta.outputs.cleared == 'false'
120120
run: |
121121
echo "::warning::Rebuild cleared nothing; these need a dependency bump: $(paste -sd', ' published_cves.txt)"
@@ -170,13 +170,13 @@ jobs:
170170
171171
# The secops scan reads our GitHub releases, not our tags; a bare tag leaves it on the old version.
172172
gh release create "v${NEW}" --title "${NEW}" \
173-
--notes "Weekly security rebuild (COSY-926). Cleared: $(paste -sd', ' cleared.txt)."
173+
--notes "Daily security rebuild (COSY-926). Cleared: $(paste -sd', ' cleared.txt)."
174174
175175
- name: Summary
176176
if: always()
177177
run: |
178178
{
179-
echo "### Weekly security rebuild"
179+
echo "### Daily security rebuild"
180180
echo
181181
echo "- Published image: \`${PUBLISHED_IMAGE}:${{ steps.version.outputs.tag }}\`"
182182
echo "- Fixable CVEs on the published image: $(wc -l < published_cves.txt 2>/dev/null || echo 0)"

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Most CVEs reported against this image come from the Go toolchain compiled into
6262
the `service` binary rather than from any dependency manifest, so they are fixed
6363
by rebuilding on a newer `golang:1.26-alpine` rather than by bumping anything.
6464

65-
The [weekly security rebuild](.github/workflows/security-rebuild.yml) does this
65+
The [daily security rebuild](.github/workflows/security-rebuild.yml) does this
6666
automatically: it scans the published image, rebuilds from scratch, and
6767
republishes a new patch version **only if the rebuild actually clears a CVE**.
6868
Rebuilds that change nothing are not released, so no update badge appears in
@@ -75,7 +75,7 @@ same workflow via `workflow_dispatch`.
7575
Every PR builds the image and runs the smoke test via
7676
[PR CI](.github/workflows/pr.yml), so a bump is verified on its own branch
7777
before it lands. Testing before the merge matters here: if you test afterwards,
78-
the next weekly rebuild sees the CVE count drop and releases the bump without
78+
the next daily rebuild sees the CVE count drop and releases the bump without
7979
the test ever having run.
8080

8181
### Validating a CVE fix locally

0 commit comments

Comments
 (0)