diff --git a/actions/java-gradle-build-jib/action.yaml b/actions/java-gradle-build-jib/action.yaml index 3c5388df6..e6940676b 100644 --- a/actions/java-gradle-build-jib/action.yaml +++ b/actions/java-gradle-build-jib/action.yaml @@ -1,6 +1,9 @@ name: "Build Multi-Platform image" description: "Build Multi-Platform image using Gradle" +outputs: + image-tag: ${{ steps.meta.outputs.tags }} + inputs: platforms: description: "Architectures for the created image (comma separated)" diff --git a/docs/actions/java-gradle-build-jib/README.md b/docs/actions/java-gradle-build-jib/README.md index 689884f5d..459ffa955 100644 --- a/docs/actions/java-gradle-build-jib/README.md +++ b/docs/actions/java-gradle-build-jib/README.md @@ -2,34 +2,6 @@ ### 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 - - -No outputs. - - - ### Secrets