-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8910270
commit b0b09b1
Showing
3 changed files
with
53 additions
and
107 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
103 changes: 0 additions & 103 deletions
103
actions/java-gradle-build-jib-multi-plaftorm/action.yaml
This file was deleted.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
docs/actions/java-gradle-build-push-jib-multi-plaftorm/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |