Skip to content

Pulling CNB run image fails when no tag is provided in image name #21532

@scottfrederick

Description

@scottfrederick

Attempting to use the builder image gcr.io/buildpacks/builder with the Maven plugin spring-boot:build-image goal or Gradle plugin bootBuildImage task results in an error while pulling the run image gcr.io/buildpacks/gcp/run specified in the builder image metadata.

Example Gradle output:

> Task :bootBuildImage
Building image 'docker.io/library/build-demo:0.0.1-SNAPSHOT'

 > Pulling builder image 'gcr.io/buildpacks/builder:latest' ..................................................
 > Pulled builder image 'gcr.io/buildpacks/builder@sha256:efb5f9b7cd976ab6e5a959f453795863a476878be8e5c20b50db22c8aec1227f'
 > Pulling run image 'gcr.io/buildpacks/gcp/run' ..................................................

> Task :bootBuildImage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootBuildImage'.
> Different digests IDs provided

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions