Skip to content

Release v3.160.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 00:19
9bf84c7

Changed

  • cratis build run --docker hands the builder token to the container over standard input only. The token no longer appears in the container's environment or on the docker run command line. (#678)
  • Before it sends the token, cratis build run --docker checks that the selected image, for the platform Docker will run, carries the label io.cratis.builder.handoff=stdin-v1. An image without it is refused with instructions to update it; there is no fallback to the environment variable. The builder images from Cratis Grip 1.1.0 onward carry the label. This needs Docker API 1.49 or later with an image store that reports manifests.
  • If the run is cancelled or the handoff fails, the CLI removes the container it created.
  • The local builders guide documents the image requirement. A container started without cratis build run --docker, for example in a pipeline, still reads the token from CRATIS_BUILDER_TOKEN.