| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Gradle plugin to build and publish a docker image to docker hub. The plugin was created to centralise code in our spring-boot microservices. Therefore some of the default values are related to the spring-boot-plugin.
The plugin is available on the official Gradle plugin portal. You need to apply it to the subprojects you want to publish to docker hub.
plugins {
id("de.europace.docker-publish") version "..."
}
dockerPublish{
organisation.set("my-dockerhub-organisation")
}
The configuration of the plugin is done in a block called dockerPublish
| Name | Description | Default Value |
|---|---|---|
| organisation | the namespace/organisation of the target docker repository | mandatory |
| imageName | the name of your docker repository | project.name |
| imageTag | the tag of your docker image | project.version |
| artifactTaskName | the name of the task the docker image depends on | "bootJar" |
| dockerBuildContextSources | The location (folder) of your docker file | "${project.projectDir.path}/src/main/docker" |
Please submit issues if you have any questions or suggestions regarding this plugin. Code changes like bug fixes or new features can be proposed as pull requests.
There are a few steps to release a plugin version:
| Back | FazBrowse Home | New Git URL |