From 31ed06a2f8d441aa981c3c41f10fecb372b2a31e Mon Sep 17 00:00:00 2001 From: Martin Matusiak Date: Fri, 17 Nov 2023 16:09:56 -0500 Subject: [PATCH] docs: add input/output documentation for the subaction Signed-off-by: Nithos <2914422+Nithos@users.noreply.github.com> --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index b4a8218..9f99cf8 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,21 @@ jobs: with: targets: ${{ matrix.target }} ``` +#### inputs + +| Name | Type | Description | +|--------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------| +| `workdir` | String | Working directory to use (defaults to `.`) | +| `files` | List/CSV | List of [bake definition files](https://docs.docker.com/build/customize/bake/file-definition/) | +| `target` | String | The target to use within the bake file | + +#### outputs + +The following outputs are available + +| Name | Type | Description | +|------------|----------|----------------------------| +| `targets` | List/CSV | List of extracted targest | ## Customizing