diff --git a/Tekton/tasks/build-maven.yaml b/Tekton/tasks/build-maven.yaml index a3362e7..66f2310 100644 --- a/Tekton/tasks/build-maven.yaml +++ b/Tekton/tasks/build-maven.yaml @@ -26,6 +26,7 @@ spec: image: gcr.io/cloud-builders/mvn command: - mvn + - -o - -B - compile - com.google.cloud.tools:jib-maven-plugin:build @@ -34,8 +35,8 @@ spec: - -Djib.to.image=docker.io/beppev/$(params.image-name):$(params.image-tag) - -Djib.from.auth.username= - -Djib.from.auth.password= - - -Djib.from.auth.username= - - -Djib.from.auth.password= + - -Djib.to.auth.username= + - -Djib.to.auth.password= workingDir: /source/$(params.DIRECTORY) volumeMounts: - name: $(params.CACHE)