github osscontainertools/kaniko v1.27.6

5 hours ago

Community Update

@vidbregar made their first contribution in #763

Also many thanks to @cmellazchy, @pstoeckle, @nphantasm, and @YevheniiSemendiak for reporting issues fixed in this release.

An extraordinary thank you to @0hlov3 for reviewing 11 PRs this cycle.

What's Changed

Security

Bugfixes

  • malformed Dockerfile input now errors instead of crashing: #733
  • malformed base-image config now errors instead of crashing: #742
  • --custom-platform mangles a variant into linux/arm/v7/v7: #746

Standardization

  • FF_KANIKO_REPRODUCIBLE_PRESERVE_BASE_LAYERS=false --reproducible leaves base-image layers untouched so they still match the registry: #732
  • FF_KANIKO_SCOPED_DOCKERIGNORE=false scope .dockerignore patterns to the build context: by @vidbregar in #763

Caching

  • FF_KANIKO_WARMER_CACHE_LOCK=false coordinate concurrent warmers on a shared cache volume: by @iahsanGill in #705 #706

Usability

  • FF_KANIKO_PRESERVE_MOUNTED_PATHS=false keep read-only bind mounts (e.g. NVIDIA GPU driver artifacts) in place during extraction: #754
  • executor push subcommand pushes a pre-built tarball or OCI layout without a separate crane binary: #737
  • FF_KANIKO_DEPRECATE_INTER_STAGE_RESTORE=false deprecate the --preserve-context inter-stage restore: #710

Maintenance

  • build(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1: #711
  • build(deps): bump debian in /deploy: #714 #716
  • build(deps): bump golang in /deploy: #715 #738 #755
  • build(deps): bump github.com/go-git/go-git/v5 from 5.19.0 to 5.19.1: #713
  • build(deps): bump step-security/harden-runner from 2.19.3 to 2.19.4: #718
  • build(deps): bump docker/build-push-action from 7.1.0 to 7.2.0: #718
  • build(deps): bump cloud.google.com/go/storage from 1.62.1 to 1.62.3: #717 #759
  • build(deps): bump github.com/docker/cli from 29.5.0 to 29.5.3: #717 #757
  • build(deps): bump google.golang.org/api from 0.279.0 to 0.283.0: #722 #751
  • build(deps): bump golang.org/x/sys from 0.44.0 to 0.45.0: #723
  • build(deps): bump docker/login-action from 4.1.0 to 4.2.0: #730
  • build(deps): bump docker/setup-buildx-action from 4.0.0 to 4.1.0: #735
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.17 to 1.32.23: #736 #744 #759 #761
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.1.21 to 0.2.7: #736 #750 #759 #761 #764
  • build(deps): bump busybox in /deploy: #734 #739
  • build(deps): bump docker/setup-qemu-action from 4.0.0 to 4.1.0: #743
  • build(deps): bump docker/setup-docker-action from 5.1.0 to 5.2.0: #743
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.7 to 1.41.12: #744 #759 #761
  • build(deps): bump actions/checkout from 6.0.2 to 6.0.3: #747
  • build(deps): bump imjasonh/setup-crane from 0.5 to 0.6: #747
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.101.0 to 1.103.2: #761
  • build(deps): bump github.com/google/go-containerregistry from 0.21.5 to 0.21.6: #719
  • build(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0: #766

Fork Related

  • FF_KANIKO_INFER_CROSS_STAGE_CACHE_KEY=false infer the cross-stage cache key for COPY --from=<external image> from its manifest digest: #741
  • FF_KANIKO_CACHE_LOOKAHEAD=false render the dryrun plan after cache lookahead so it shows cache hits/misses: #674

Refactorings

  • remove dead code: #707

Don't miss a new kaniko release

NewReleases is sending notifications on new releases.