Pass VERSION build arg, limit build parallelism, update actions
- Pass the image version as build arg VERSION to both the scan and push builds, so the scanned image matches the pushed one - Limit BuildKit to 8 parallel steps (as mqtt-influx-bridge did) - Update actions to checkout@v7, setup-qemu@v4, setup-buildx@v4, login@v4, metadata@v6, build-push@v7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8228a19251
commit
4b2129b544
2 files changed
+20
-8
No files matched your search
@@ -41,6 +41,9 @@ For x64 and arm64 (Raspberry Pi), add:
|
||||
| `severity` | `CRITICAL,HIGH` | Severities that fail the build. Vulnerabilities without a fixed version never fail it. |
|
||||
| `runs-on` | `linux-amd64` | Runner label. |
|
||||
|
||||
The image version from the tag/branch (e.g. `1.4.0`, `main`) is passed as
|
||||
build arg `VERSION`; declare `ARG VERSION` in the Dockerfile to use it.
|
||||
|
||||
### Required secrets
|
||||
|
||||
Set these on the repo's organisation (or on the repo):
|
||||
|
||||
Reference in new issue
Block a user