Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Adds ability to specify Jib version. #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion jib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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'
}
```

Expand Down
3 changes: 3 additions & 0 deletions jib/jib-maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down