Open johan974 opened 9 months ago
Detect the buildpacks, (maven) build the soures to a JAR, build a Docker image.
When running the Task "buildpack-phases" with builder-image "gcr.io/buildpacks/builder:v1" as part of a custom pipeline I get this error:
ERROR: failed to : set API for buildpack 'google.java.runtime@0.9.1': buildpack API version '0.8' is incompatible with the lifecycle
When running it with a "paketobuildpacks/builder:base" builder I get this error:
ERROR: failed to : set API for buildpack 'paketo-buildpacks/ca-certificates@3.6.3': buildpack API version '0.7' is incompatible with the lifecycle
This is part of my pipeline. I have credentials for SSH and docker set via a ServiceAccount.
- name: build taskRef: name: buildpacks-phases runAfter: - fetch-repository params: - name: APP_IMAGE value: $(params.TARGET_IMAGE):$(params.TARGET_VERSION) - name: BUILDER_IMAGE value: "gcr.io/buildpacks/builder:v1" - name: SOURCE_SUBPATH value: "." workspaces: - name: source workspace: source-workspace
I also tried:
- name: build taskRef: name: buildpacks-phases runAfter: - fetch-repository params: - name: APP_IMAGE value: $(params.TARGET_IMAGE):$(params.TARGET_VERSION) - name: BUILDER_IMAGE value: "paketobuildpacks/builder:base" - name: SOURCE_SUBPATH value: "." - name: ENV_VARS value: - CNB_PLATFORM_API=0.5
Because of the warning of a deprecated CNB_PLATFORM_API of 0.4.
Anybody out there? Is this the right place to suggest issues?
Task: "buildpack-phases"
Expected Behavior
Detect the buildpacks, (maven) build the soures to a JAR, build a Docker image.
Actual Behavior
When running the Task "buildpack-phases" with builder-image "gcr.io/buildpacks/builder:v1" as part of a custom pipeline I get this error:
ERROR: failed to : set API for buildpack 'google.java.runtime@0.9.1': buildpack API version '0.8' is incompatible with the lifecycle
When running it with a "paketobuildpacks/builder:base" builder I get this error:
ERROR: failed to : set API for buildpack 'paketo-buildpacks/ca-certificates@3.6.3': buildpack API version '0.7' is incompatible with the lifecycle
Steps to Reproduce the Problem
This is part of my pipeline. I have credentials for SSH and docker set via a ServiceAccount.
I also tried:
Because of the warning of a deprecated CNB_PLATFORM_API of 0.4.
Additional Info