Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yordanovsstoyan committed Aug 26, 2024
1 parent b0213a4 commit bffb088
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/java-gradle-build-jib/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
30 changes: 30 additions & 0 deletions docs/actions/java-gradle-build-jib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,36 @@

### Inputs

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

| 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 .) |

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

### Outputs

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

| OUTPUT | TYPE | DESCRIPTION |
| --------- | ------ | ---------------------------- |
| image-tag | string | The tag of the docker image. |

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

### Secrets

0 comments on commit bffb088

Please sign in to comment.