From 13b2057c38e3ff92a383ee66063d92e926d6cd9e Mon Sep 17 00:00:00 2001 From: thegeeklab-bot Date: Fri, 15 Nov 2024 20:54:41 +0000 Subject: [PATCH] [skip ci] auto-update documentation --- data/data.yaml | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/data/data.yaml b/data/data.yaml index 37b1f5c..b01c7d6 100644 --- a/data/data.yaml +++ b/data/data.yaml @@ -34,13 +34,38 @@ properties: - name: build_args description: | - Custom build arguments for the build. - type: list + Custom build arguments for the build. Example: + + ```yaml + steps: + - name: Build + image: quay.io/thegeeklab/wp-docker-buildx + settings: + repo: example/repo + build_args: + FOO: bar + API_KEY: + from_secret: API_KEY + ``` + type: map required: false - name: build_args_from_env description: | - Forward environment variables as custom arguments to the build. + Forward environment variables to the build as build arguments. If the same key + already exists in `build_args`, it will not be overwritten. Example: + + ```yaml + steps: + - name: Build + image: quay.io/thegeeklab/wp-docker-buildx + environment: + CUSTOM_ENVIRONMENT: custom_value + settings: + repo: example/repo + build_args_from_env: + - CUSTOM_ENVIRONMENT + ``` type: list required: false