-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, our docker-build action does not support passing --build-arg parameters to the docker build command. This limits our ability to dynamically inject build-time variables such as environment configurations, secrets (via build-time only secrets), or versioning metadata.
Proposal:
Add support for build arguments by introducing an optional build-args input to the action. This input could accept a list or key-value pairs, which the action will forward to the docker build command using --build-arg.
Example usage:
with:
build-args: |
ENV=production
VERSION=1.2.3
This enhancement would improve flexibility and align the action with common Docker build practices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request