Add no-cache input; push step builds from local cache only
- no-cache input for scheduled rebuilds that must pick up new packages - The push step no longer reads the registry cache, only the layers the scan step just built, so the pushed image is the scanned one even on no-cache runs - Put --build-arg back on its own line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4b2129b544
commit
71fc972c77
2 files changed
+17
-5
No files matched your search
@@ -38,6 +38,7 @@ For x64 and arm64 (Raspberry Pi), add:
|
||||
| `platforms` | `linux/amd64` | Comma-separated target platforms. Any `arm` platform enables QEMU emulation. |
|
||||
| `context` | `.` | Docker build context. |
|
||||
| `file` | `<context>/Dockerfile` | Path to the Dockerfile. |
|
||||
| `no-cache` | `false` | Build without cache. Use `${{ gitea.event_name == 'schedule' }}` so weekly rebuilds pick up new packages. |
|
||||
| `severity` | `CRITICAL,HIGH` | Severities that fail the build. Vulnerabilities without a fixed version never fail it. |
|
||||
| `runs-on` | `linux-amd64` | Runner label. |
|
||||
|
||||
|
||||
Reference in new issue
Block a user