Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yordanovsstoyan committed Jun 11, 2024
1 parent 8910270 commit b0b09b1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 107 deletions.
4 changes: 0 additions & 4 deletions actions/java-gradle-build-jib-multi-plaftorm/README.md

This file was deleted.

103 changes: 0 additions & 103 deletions actions/java-gradle-build-jib-multi-plaftorm/action.yaml

This file was deleted.

53 changes: 53 additions & 0 deletions docs/actions/java-gradle-build-push-jib-multi-plaftorm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Description java-gradle-build-push-jib-multi-platform composite action

This action builds and pushes a multi-plaform image using [Jib Gradle](https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin) to a private image registry.

## Usage

```yaml
steps:
- name: Build multi-plaform image
uses: bakdata/ci-templates/actions/java-gradle-build-push-jib-multi-platform@main
with:
full-image-name: "registry/image-name" # (Required)
registry-password: "registry-password" # (Required)
image-tag: "tag" # (Optional)
image-artifact-name: "image-artifact" # (Optional)
java-distribution: "microsoft" # (Optional)
java-version: "11" # (Optional)
gradle-version: "wrapper" # (Optional)
working-directory: "." # (Optional)
```
## References
### Inputs
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
| --------------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| download-lfs-files | string | false | `"false"` | Whether the Git checkout action should resolve LFS files or not. (Default is false) |
| 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-artifact-name | string | false | `"image-artifact"` | Artifact name to upload tarball image, see https://github.com/actions/upload-artifact |
| 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 |
| subproject | string | false | | The Gradle subproject for which the tarball image should be built (If not specified, a tarball 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 -->
No outputs.
<!-- AUTO-DOC-OUTPUT:END -->
### Secrets

0 comments on commit b0b09b1

Please sign in to comment.