From bffb08858505a93195cd2dec9a3e5ed66b81f556 Mon Sep 17 00:00:00 2001 From: yordanovsstoyan Date: Mon, 26 Aug 2024 10:19:54 +0300 Subject: [PATCH] test --- actions/java-gradle-build-jib/action.yaml | 4 ++- docs/actions/java-gradle-build-jib/README.md | 30 ++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/actions/java-gradle-build-jib/action.yaml b/actions/java-gradle-build-jib/action.yaml index e6940676b..7ed6d4125 100644 --- a/actions/java-gradle-build-jib/action.yaml +++ b/actions/java-gradle-build-jib/action.yaml @@ -2,7 +2,9 @@ name: "Build Multi-Platform image" description: "Build Multi-Platform image using Gradle" outputs: - image-tag: ${{ steps.meta.outputs.tags }} + image-tag: + description: "The tag of the docker image." + value: ${{ steps.meta.outputs.tags }} inputs: platforms: diff --git a/docs/actions/java-gradle-build-jib/README.md b/docs/actions/java-gradle-build-jib/README.md index 459ffa955..9d97446e6 100644 --- a/docs/actions/java-gradle-build-jib/README.md +++ b/docs/actions/java-gradle-build-jib/README.md @@ -2,6 +2,36 @@ ### Inputs + + +| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | +| --------------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| allow-insecure-registries | string | false | `"false"` | Whether to allow insecure registries or not. (Default is false) | +| class | string | false | | The entrypoint class to be used for the image | +| download-lfs-files | string | false | `"false"` | Whether the Git checkout action should resolve LFS files or not. (Default is false) | +| full-image-name | string | true | | Full name of image (registry/image). The image should be provided without a tag. | +| gradle-cache | string | false | `"true"` | Whether Gradle caching is enabled or not. (Default is true) | +| gradle-cache-read-only | string | false | `"${{ github.event.repository != null && github.ref_name != github.event.repository.default_branch }}"` | Whether Gradle caching should be read-only. By default this value is 'false' for workflows on the GitHub default branch and 'true' for workflows on other branches. | +| gradle-refresh-dependencies | string | false | `"false"` | Whether Gradle should refresh dependencies. (Default is false) | +| gradle-version | string | false | `"wrapper"` | Gradle version to be installed. (Default is wrapper) | +| image-name | string | false | `"${{ github.event.repository.name }}"` | Name of Docker image. | +| java-distribution | string | false | `"microsoft"` | Java distribution to be installed. (Default is microsoft) | +| java-version | string | false | `"11"` | Java version to be installed. (Default is 11) | +| jib-from-image | string | false | | The Jib base image to use | +| platforms | string | false | `"linux/amd64,linux/arm64"` | Architectures for the created image (comma separated) | +| subproject | string | false | | The Gradle subproject for which the image should be built (If not specified, an image for the root project will be built) | +| working-directory | string | false | `"."` | Working directory of your Gradle artifacts. (Default is .) | + + + ### Outputs + + +| OUTPUT | TYPE | DESCRIPTION | +| --------- | ------ | ---------------------------- | +| image-tag | string | The tag of the docker image. | + + + ### Secrets