File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,9 +146,15 @@ jobs:
146146 with :
147147 context : ${{ matrix.image_config.context }}
148148 file : ${{ matrix.image_config.context }}/${{ matrix.image_config.dockerfile }}
149- build-args : ${{ matrix.image_config.build_args }}
149+ # Merge both build-arg sources into a single key: static per-image
150+ # args from the matrix (e.g. authbridge-lite GO_BUILD_TAGS) plus the
151+ # dynamically resolved args (authbridge-cpex CPEX_FFI_*). A duplicate
152+ # `build-args:` key is invalid YAML and fails the whole workflow; only
153+ # one image sets each source, so concatenating them is safe.
154+ build-args : |
155+ ${{ matrix.image_config.build_args }}
156+ ${{ steps.buildargs.outputs.args }}
150157 push : true
151158 platforms : linux/amd64,linux/arm64
152159 tags : ${{ steps.meta.outputs.tags }}
153160 labels : ${{ steps.meta.outputs.labels }}
154- build-args : ${{ steps.buildargs.outputs.args }}
You can’t perform that action at this time.
0 commit comments