docker-publish: add build-args input #10

Merged
tim merged 1 commit from feat/docker-publish-build-args into main 2026-10-12 15:55:53 +00:00
Owner

Adds an optional build-args input (one KEY=VALUE per line) passed to buildx build as --build-arg. Needed for Home Assistant add-on images, whose Dockerfile takes BUILD_FROM and BUILD_ARCH per architecture.

The self-test fixture Dockerfile now fails unless GREETING=ok arrives, so the self-test proves the arguments reach the build.

🤖 Generated with Claude Code

https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98

Adds an optional `build-args` input (one `KEY=VALUE` per line) passed to `buildx build` as `--build-arg`. Needed for Home Assistant add-on images, whose Dockerfile takes `BUILD_FROM` and `BUILD_ARCH` per architecture. The self-test fixture Dockerfile now fails unless `GREETING=ok` arrives, so the self-test proves the arguments reach the build. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
docker-publish: add build-args input
All checks were successful
test auto-tag / test (pull_request) Successful in 3s
test docker-publish / test (pull_request) Successful in 4s
test hassfest / test (pull_request) Successful in 19s
test node-test / test (pull_request) Successful in 6s
test python-test / test (pull_request) Successful in 14s
test security-scan / test (pull_request) Successful in 28s
c25f404e44
For images whose Dockerfile needs ARGs per build (Home Assistant add-ons
take BUILD_FROM and BUILD_ARCH). One KEY=VALUE per line. The self-test
fixture now fails to build unless the argument arrives.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
tim merged commit f2c9fd3e88 into main 2026-10-12 15:55:53 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/workflow-basics!10
No description provided.