Skip to content

Commit

Permalink
Merge pull request #48 from hotosm/docs/auto-doc-update-workflows
Browse files Browse the repository at this point in the history
auto-doc: updated workflows docs
  • Loading branch information
spwoodcock authored Nov 23, 2023
2 parents d8273c8 + 7e6c6f2 commit 02279a6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/image_build_multi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,43 @@ Supports:

## Inputs

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
| -------------------------------------------------------------------------------- | ------- | -------- | -------------- | --------------------------------------------------------------------------------------------- |
| <a name="input_build_target"></a>[build_target](#input_build_target) | string | false | | The target to built to <br>(default to end of the Dockerfile). |
| <a name="input_cache"></a>[cache](#input_cache) | boolean | false | `true` | Use GHCR caching. Default true. <br>Set this false if registry <br>is not ghcr.io. |
| <a name="input_context"></a>[context](#input_context) | string | false | `"."` | Root directory to start the <br>build from. |
| <a name="input_dockerfile"></a>[dockerfile](#input_dockerfile) | string | false | `"Dockerfile"` | Name of dockerfile, relative to <br>context dir. |
| <a name="input_extra_build_args"></a>[extra_build_args](#input_extra_build_args) | string | false | | Space separated list of extra <br>build args to use for <br>the image. |
| <a name="input_image_name"></a>[image_name](#input_image_name) | string | false | | Name of image, without tags. <br>Not required if image_tags specified. |
| <a name="input_image_tags"></a>[image_tags](#input_image_tags) | string | false | | Default=the images are automatically tagged. <br>Override tags with space separated <br>list. |
| <a name="input_push"></a>[push](#input_push) | boolean | false | `true` | Override prevent pushing the image. |
| <a name="input_registry"></a>[registry](#input_registry) | string | false | `"ghcr.io"` | Override GHCR to use an <br>external reg. |
| <a name="input_scan_dockerfile"></a>[scan_dockerfile](#input_scan_dockerfile) | boolean | false | `true` | Enable dockerfile vulnerability scanning, prior <br>to build. |
| <a name="input_scan_image"></a>[scan_image](#input_scan_image) | boolean | false | `true` | Enable image vulnerability scan, after <br>build. |

<!-- AUTO-DOC-INPUT:END -->

## Secrets

<!-- AUTO-DOC-SECRETS:START - Do not remove or modify this section -->

No secrets.

<!-- AUTO-DOC-SECRETS:END -->

## Outputs

<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->

| OUTPUT | VALUE | DESCRIPTION |
| ---------------------------------------------------------------- | ----------------------------------------------- | ------------------------------- |
| <a name="output_image_name"></a>[image_name](#output_image_name) | `"${{ jobs.build-images.outputs.image_name }}"` | The final full image reference. |
| <a name="output_image_tag"></a>[image_tag](#output_image_tag) | `"${{ jobs.build-images.outputs.image_tag }}"` | The final image tag. |

<!-- AUTO-DOC-OUTPUT:END -->

## Example Usage

```yaml
Expand Down

0 comments on commit 02279a6

Please sign in to comment.