diff --git a/jib/README.md b/jib/README.md index 526afe6..8c20d5d 100644 --- a/jib/README.md +++ b/jib/README.md @@ -23,6 +23,7 @@ kubectl apply -f https://raw.githubusercontent.com/knative/build-templates/maste - **IMAGE**: The Docker image name to apply to the newly built image. (*required*) - **DIRECTORY**: The directory in the source repository where source should be found. (*default: .*) - **CACHE**: The name of the volume for caching Maven artifacts and base image layers (*default: empty-dir-volume*) +- **VERSION**: The version of `jib-maven-plugin` to use (*default: from `pom.xml` or latest*) ## ServiceAccount @@ -118,7 +119,7 @@ This assumes the source repo is using the Gradle plugin, configured in ```groovy plugins { - id 'com.google.cloud.tools.jib' version '0.9.10' + id 'com.google.cloud.tools.jib' version '0.10.0' } ``` diff --git a/jib/jib-maven.yaml b/jib/jib-maven.yaml index 1c5a563..c06551a 100644 --- a/jib/jib-maven.yaml +++ b/jib/jib-maven.yaml @@ -12,6 +12,9 @@ spec: - name: CACHE description: The name of the volume for caching Maven artifacts and base image layers default: empty-dir-volume + - name: VERSION + description: The jib-maven-plugin version + default: "" steps: - name: build-and-push