Skip to content

Releases

v1.29.2

Choose a tag to compare

@mzihlmann mzihlmann released this 22 Nov 23:13
86a84a0

Update Notice

⚠️ With --image-fs-extract-retry set, kaniko downloads each base image completely into its local store before extracting it, instead of streaming its layers. Builds on large base images take longer and use more disk. To keep streaming, drop --image-fs-extract-retry and set FF_KANIKO_RESUME_BLOB_DOWNLOADS=true, which continues a dropped layer download. Without FF_KANIKO_SHARED_BASE_CACHE, kaniko ignores --image-fs-extract-retry.

Community Update

@ehfd made their first contribution in #1463. @ehfd builds on large images and suggested many optimizations around pulling base images or skipping the pull altogether.

If you also run non-standard workloads, please tell us or write to hello@osscontainertools.org so we can optimize kaniko for your use case too.

What's Changed

Security

  • go stdlib v1.27.3: CVE-2026-97054
  • golang.org/x/crypto v0.58.0: GO-2026-5932
  • FF_KANIKO_VERIFY_LAYER_DIGEST=true verify layer digests on extraction: #1495

Bugfixes

  • USER fails on a variable modifier in the group: by @gary-wall in #1407
  • FF_KANIKO_RUN_MOUNT_BIND_RESOLVE_SYMLINK=false RUN bind mount of a symlink source mounts the link: by @gary-wall in #1408
  • FF_KANIKO_PROBE_CREDENTIALS=false DOCKER_AUTH_CONFIG shadows the gitlab job token: #1396
  • FF_KANIKO_GLOB_CHAR_PATHS=false COPY --from of a directory with glob characters in its name copies nothing: by @gary-wall in #1425
  • FF_KANIKO_RESUME_BLOB_DOWNLOADS=false a dropped connection during a layer download fails the build: #1478

Standardization

  • FF_KANIKO_FROM_PREDEFINED_ARGS=false resolve TARGETARCH in FROM: #1400
  • FF_KANIKO_ALIGN_HISTORY=false align image history with layers: #1469

Performance

  • FF_KANIKO_PARALLEL_GUNZIP=false decompress base layers ahead of extraction: #1377
  • warmer fetches each base once: by @gary-wall in #1432
  • skip storing a base that the push mounts: by @ehfd in #1463
  • a full cache hit skips downloading a shared base: #1479
  • FF_KANIKO_REPRODUCIBLE_SKIP_BASE_REWRITE=false --reproducible rewrites only the layers above the base: #1470

Usability

  • FF_KANIKO_WARMER_FAIL_ON_ERROR=false warmer fails when any base fails to warm: by @gary-wall in #1433

Bake

  • bake --print shows the resolved targets: #1392
  • warmer bake warms the bases of every target: by @gary-wall in #1399
  • executor bake rejects more than one target: #1417
  • bake builds a repeated target twice: #1419
  • bakefile errors suggest the misspelled key: #1421
  • bake per-target build_arg: #1420
  • bake resolves context and dockerfile from the working directory: #1418

Packaging

Maintenance

  • build(deps): bump golang.org/x/oauth2 from 0.37.0 to 0.38.0: #1389
  • build(deps): bump golang.org/x/sys from 0.49.0 to 0.50.0: #1390
  • build(deps): bump golang.org/x/sync from 0.24.0 to 0.25.0: #1391
  • build(deps): bump github.com/klauspost/compress from 1.20.3 to 1.20.5: #1388 #1468
  • build(deps): bump golang from 1.27.3 to 1.27.4: #1397 #1403 #1434 #1447
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.16 to 1.33.21: #1398 #1442 #1461 #1468
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.5.5 to 0.5.11: #1398 #1442 #1461 #1468
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.114.9 to 1.116.0: #1398 #1442 #1461
  • build(deps): bump github.com/docker/docker-credential-helpers from 0.9.12 to 0.9.13: #1398
  • build(deps): bump cloud.google.com/go/auth from 0.24.3 to 0.24.4: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream from 1.7.26 to 1.7.27: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.20.16 to 1.21.3: #1398 #1442 #1461 #1468
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.20.8 to 1.20.9: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/configsources from 1.5.11 to 1.5.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 from 2.8.11 to 2.8.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/v4a from 1.5.11 to 1.5.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.67.5 to 1.69.0: #1398 #1441 #1454
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecrpublic from 1.47.11 to 1.47.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding from 1.13.24 to 1.13.25: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/checksum from 1.11.12 to 1.11.13: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/presigned-url from 1.14.11 to 1.14.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/s3shared from 1.20.11 to 1.20.12: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/signin from 1.12.4 to 1.14.0: #1398 #1461
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/sso from 1.39.4 to 1.39.5: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/ssooidc from 1.44.4 to 1.44.5: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/sts from 1.51.9 to 1.53.0: #1398 #1468
  • build(deps): bump github.com/aws/smithy-go from 1.28.8 to 1.28.9: #1398
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.47.8 to 1.48.0: #1398
  • build(deps): bump golang.org/x/text from 0.43.0 to 0.44.0: #1395
  • build(deps): bump google.golang.org/api from 0.311.0 to 0.316.0: #1406 #1415 #1426 #1455
  • build(deps): bump google.golang.org/genproto/googleapis/rpc from 0.0.0-20261026165753-2ffab32bce7e to 0.0.0-20261104224025-d1e00e9f33ab: #1406
  • build(deps): bump github.com/moby/buildkit from 0.34.2 to 0.35.1: #1404 #1468
  • build(deps): bump golang.org/x/crypto from 0.58.0 to 0.59.0: #1405
  • build(deps): bump docker engine from 29.9.2 to 29.9.3: #1411
  • build(deps): bump AdityaGarg8/remove-...
Read more

v1.29.1

Choose a tag to compare

@mzihlmann mzihlmann released this 08 Nov 23:48
ecdb37f

Community Update

@mvdberge made their first contribution in #1316. They traced unreadable node_modules entries in a real image to spurious whiteouts that every release since v1.27.0 writes into later stages, and mapped the cached-layer variant fixed in #1383.

@tran4774 made their first contribution in #1251. They put substantial work into making kaniko faster, from build metrics to cached file hashes. Parallel snapshot hashing behind FF_KANIKO_PARALLEL_HASH is the first piece to land.

A special shoutout to @gary-wall, who landed 13 changes this release. Most notably cross-stage bind mounts and --cache-from/--cache-to separation.

What's Changed

Security

Bugfixes

  • a later stage whites out the files of an earlier stage: by @mvdberge in #1316
  • cross-stage COPY ignores an ENV shadowing an ARG: by @Dodothereal in #1323
  • RUN --mount deletes output next to the mount: #1336
  • ADD to a relative destination without WORKDIR leaves the layer empty: #1339
  • bake --dryrun deletes the filesystem between targets: #1364
  • --reproducible keeps build-time mtimes of a local base stage: #1368
  • COPY --from ignores predefined and inherited ARGs: #1376

Standardization

  • FF_KANIKO_LOCAL_UNPACK_REQUIRES_TAR=false ADD copies a non-tar archive as is: by @gary-wall in #1330
  • FF_KANIKO_ADD_CHOWN_TAR=false honour ADD --chown on extracted archives: by @gary-wall in #1333
  • FF_KANIKO_RUN_MOUNT_TMPFS=false support RUN --mount=type=tmpfs: by @gary-wall in #1315
  • FF_KANIKO_ADD_FOLLOW_SYMLINK=false ADD <url> follows a destination symlink: by @gary-wall in #1338 #1340
  • FF_KANIKO_RUN_MOUNT_BIND_RELATIVE=false resolve relative bind mounts against WORKDIR: by @gary-wall in #1337
  • FF_KANIKO_RUN_CROSS_STAGE_BIND_MOUNT=false support RUN --mount=type=bind,from: by @gary-wall in #1280
  • reject variables in COPY --from: #1378

Caching

  • FF_KANIKO_CACHE_COPY_FROM=false warmer caches COPY --from=<image>: by @gary-wall in #1334
  • FF_KANIKO_SNAPSHOT_TRACK_CACHED_LAYERS=false stop storing cached files twice: #1383

Performance

  • reuse pooled copy buffers: #1313 #1314
  • FF_KANIKO_PARALLEL_HASH=false hash snapshot files in parallel: by @tran4774 in #1251

Usability

Telemetry

  • trace fetching the build context: #1343
  • background telemetry export: #1344

Packaging

  • list every source file in the image SBOMs: #1304

Maintenance

  • build(deps): bump golang: #1307 #1317 #1325 #1355 #1380
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.10 to 1.33.16: #1308 #1310 #1335 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.20.10 to 1.20.16: #1308 #1310 #1335 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/signin from 1.10.5 to 1.12.4: #1308 #1310 #1335 #1361 #1382
  • build(deps): bump google.golang.org/api from 0.308.0 to 0.311.0: #1309 #1328 #1358
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.66.6 to 1.67.5: #1311 #1319 #1335 #1361 #1382
  • build(deps): bump google.golang.org/grpc from 1.84.0 to 1.85.0: #1312
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.47.4 to 1.47.8: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream from 1.7.24 to 1.7.26: #1310 #1361
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.20.4 to 1.20.8: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.4.19 to 0.5.5: #1310 #1335 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/configsources from 1.5.7 to 1.5.11: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 from 2.8.7 to 2.8.11: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/v4a from 1.5.7 to 1.5.11: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding from 1.13.22 to 1.13.24: #1310 #1361
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/checksum from 1.11.8 to 1.11.12: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/presigned-url from 1.14.7 to 1.14.11: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/s3shared from 1.20.7 to 1.20.11: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.114.5 to 1.114.9: #1310 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/sso from 1.38.5 to 1.39.4: #1310 #1335 #1361 #1382
  • build(deps): bump github.com/aws/aws-sdk...
Read more

v1.29.0

Choose a tag to compare

@mzihlmann mzihlmann released this 25 Oct 20:58
632acb6

Update Notice

⚠️ The slim image no longer authenticates to GCR/GAR, ECR and ACR, and drops the gs://, s3:// and azure build contexts, git build contexts and OpenTelemetry export. If you use any of them, switch to latest, which is now about the same size as slim used to be.

In this Release we activated these feature-flags:

⚠️ Several of these flags change how cache keys are computed. Existing cache entries are invalidated, so the first build after upgrading is a full rebuild that repopulates the cache.

⚠️ --reproducible now leaves base layers untouched and keeps the requested image format, so the digest of a reproducible build changes once. A reproducible build from an OCI base is now pushed as OCI instead of docker, pass --image-format=docker to keep the old format.

FF_KANIKO_ADD_CHECKSUM verifies ADD --checksum. A wrong checksum used to pass silently and now fails the build, so update it to the digest of the download.

FF_KANIKO_EXPAND_HEREDOC expands variables in unquoted COPY and ADD heredoc bodies. If a body needs a literal $, quote the delimiter:

COPY <<'EOF' /etc/motd
costs $5
EOF

FF_KANIKO_PATH_SCOPED_REGISTRY_AUTH matches an auths entry against the repository namespace, so one entry for registry.example.com/org-a covers every repository below it and you can merge your per-repository entries. It is no longer sent to sibling namespaces like registry.example.com/org-b, which now need their own entry.

FF_KANIKO_SHARED_BASE_CACHE keeps downloaded bases in /kaniko/bases after the build, --cleanup does not remove them. If you reuse an executor for many builds, clean that directory yourself.

You can roll-back any of those changes by overriding them in the environment ie.

job:
  variables:
    FF_KANIKO_PLATFORM_CACHE_KEY: "0"
    FF_KANIKO_CROSS_REPO_MOUNT: "0"

Please also notify us by filing a new issue.

We further removed these feature-flags:

  • FF_KANIKO_RUN_MOUNT_BIND
  • FF_KANIKO_NO_PROPAGATE_ANNOTATIONS
  • FF_KANIKO_VOLUME_SKIP_MKDIR
  • FF_KANIKO_PRESERVE_HARDLINKS
  • FF_KANIKO_BUILDKIT_ARG_ENV_PRECEDENCE
  • FF_KANIKO_PRESERVE_MOUNTED_PATHS
  • FF_KANIKO_DEPRECATE_INTER_STAGE_RESTORE
  • FF_KANIKO_SECUREJOIN_EXTRACTION
  • FF_KANIKO_WARMER_CACHE_LOCK
  • FF_KANIKO_CLEAN_KANIKO_DIR
  • FF_KANIKO_RELATIVE_LINK_TARGETS
  • FF_KANIKO_OCI_WARMER
  • FF_KANIKO_IGNORE_CACHED_MANIFEST

Their behavior is now unconditional, they have no effect and can be removed.

⚠️ The warmer only reads and writes the OCI layout now. Tarballs left in a warmer cache from before v1.28.0 are no longer used, re-run the warmer to populate the cache.

Community Update

@gary-wall made their first contribution in #1205. The warmer now also caches the image index, so builds from a base pinned by index digest work air-gapped.

@gary-wall also joined us as a maintainer, welcome aboard!

Also many thanks to @philou-078 and @hanbyeol for reporting issues fixed in this release.

To get an overview over our feature flags you can check the schedule on https://osscontainertools.org/kaniko/flags/

What's Changed

Security

Bugfixes

  • warmer pulls scratch from the registry: by @gary-wall in #1205
  • FF_KANIKO_ISOLATE_CACHE_PUSH=false every cache push also writes the build outputs: #1223
  • warmer leaves nested ARG defaults unexpanded: #1209
  • FF_KANIKO_WARMER_BUILD_ARGS=false warmer lets an ARG default win over --build-arg: #1207
  • warmer pulls stage references that differ in case: #1208
  • FF_KANIKO_WARMER_PREDEFINED_ARGS=false warmer leaves TARGETARCH empty in FROM: #1210

Standardization

  • FF_KANIKO_RUN_HEREDOC_SCRIPT=false run a lone RUN heredoc body as the script: #1216
  • FF_KANIKO_COPY_KEEP_DEST_OWNER=false COPY --chown keeps the owner of an existing destination directory: #1257
  • FF_KANIKO_COPY_SUBDIR_MODE=false directory COPY applies the source mode to existing subdirectories: #1259

Caching

  • FF_KANIKO_CACHE_IMAGE_INDEX=false warmer caches the image index of index-pinned bases: by @gary-wall in #1225
  • FF_KANIKO_FORMAT_INDEPENDENT_CACHE_KEY=false keep --image-format out of cache keys: #1276

Performance

  • relabel cached layers without downloading them: #1275

Usability

  • warmer --dryrun prints which bases it would fetch: #1206
  • graduate feature flags for v1.29.0 release: #870 #1235
  • --predefined-annotations sets the OCI source, revision, version and base image annotations: #1227
  • --provenance attaches a SLSA provenance attestation: #1230
  • FF_KANIKO_NATIVE_INIT=false kaniko acts as its own init process: #1222

Telemetry

  • trace the push, planning and the --reproducible rewrite: #1217

Packaging

  • make the kaniko images reproducible: #1231
  • ship licenses in the images: #1247
  • ship credential helpers as hardlinks to the executor: #1224
  • add busybox and tini sources to the SBOM: #1246
  • reproducible go build of executor and warmer: by @gary-wall in #1269
  • slim image drops the cloud SDKs, go-git and OpenTelemetry: #1279 #1265

Maintenance

  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.66.3 to 1.66.6: https...
Read more

v1.28.6

Choose a tag to compare

@mzihlmann mzihlmann released this 11 Oct 20:21
56216e2

Community Update

@donbowman made their first contribution in #1136 and brought linux/arm/v7 to the published images, so kaniko now runs on 32-bit ARM devices.

Also many thanks to @7schroet and @peterlustig78 for reporting issues fixed in this release.

Follow along on https://osscontainertools.org, where we post news and write about how kaniko is built, most recently on why we use feature flags: https://osscontainertools.org/blog/featureflags/

What's Changed

Security

Bugfixes

Standardization

  • FF_KANIKO_UNPACK_ZSTD=false extract zstd archives in ADD: #1150
  • FF_KANIKO_UNPACK_XZ=false extract xz archives in ADD: #1151
  • FF_KANIKO_ADD_UNPACK=false honour ADD --unpack: #1148
  • FF_KANIKO_COPY_LINK=false honour COPY --link: #1134 #1202 #1203

Performance

  • mount relabeled cache layers instead of uploading them: #1125
  • FF_KANIKO_DEFER_CACHE_PUSH=false push cache layers in the background: #1163
  • FF_KANIKO_PEEK_ARCHIVE_HEADER=false ADD detect compression from the header alone: #1171
  • FF_KANIKO_IMAGE_STAGES=false skip unpacking the rootfs for fully cached stages: #1144

Usability

  • FF_KANIKO_LAYER_HINTS=false kaniko now hints at common mistakes: #1121

Telemetry

  • report the .dockerignore: #1117
  • report kaniko.cache.eligible: #1147
  • KANIKO_TELEMETRY_OMIT_DOCKERFILE=true now also redacts RUN, ENV and ARG: #1119
  • report layer size and digest: #1120

Maintenance

  • build(deps): bump alpine in /deploy from 3.24.1 to 3.24.2: #1115
  • build(deps): bump debian in /deploy: #1116 #1164
  • build(deps): bump google.golang.org/api from 0.298.0 to 0.301.0: #1124 #1156 #1194
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.4.7 to 0.4.16: #1123 #1132 #1142 #1153 #1166 #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.113.1 to 1.114.3: #1123 #1132 #1153 #1166 #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.47.0 to 1.47.3: #1132 #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.5 to 1.33.9: #1132 #1166 #1190
  • build(deps): bump busybox in /deploy: #1131
  • build(deps): bump github.com/docker/cli from 29.8.1 to 29.9.0: #1141 #1189
  • build(deps): bump go.opentelemetry.io/otel from 1.46.0 to 1.47.0: #1155
  • build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.8.1 to 1.8.2: #1153
  • build(deps): bump github.com/go-git/go-billy/v5 from 5.9.1 to 5.9.2: #1153
  • build(deps): bump github.com/moby/buildkit from 0.33.0 to 0.34.0: #1153 #1199
  • build(deps): bump github.com/moby/moby/api from 1.56.0 to 1.56.1: #1153
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.46.0 to 1.47.0: #1157
  • build(deps): bump github.com/go-git/go-git/v5 from 5.19.2 to 5.19.3: #1159
  • build(deps): bump step-security/harden-runner from 2.21.1 to 2.22.1: #1161 #1170
  • build(deps): bump golang.org/x/sync from 0.23.0 to 0.24.0: #1165
  • build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1: #1168
  • build(deps): bump golang.org/x/sys from 0.48.0 to 0.49.0: #1167
  • build(deps): bump go from 1.26.8 to 1.26.9: #1180
  • build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.30.0 to 2.31.0: #1186
  • build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.23.2 to 1.23.3: #1183
  • build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/internal from 1.12.0 to 1.13.0: #1183
  • build(deps): bump github.com/aws/smithy-go from 1.28.1 to 1.28.5: #1183 #1190
  • build(deps): bump github.com/cloudflare/circl from 1.6.3 to 1.6.5: #1183
  • build(deps): bump github.com/google/s2a-go from 0.1.10 to 0.1.11: #1183
  • build(deps): bump github.com/googleapis/enterprise-certificate-proxy from 0.3.22 to 0.3.23: #1183
  • build(deps): bump github.com/moby/sys/userns from 0.2.0 to 0.2.1: #1183
  • build(deps): bump github.com/skeema/knownhosts from 1.3.1 to 1.3.3: #1183
  • build(deps): bump github.com/zeebo/assert from 1.3.0 to 1.3.1: #1183
  • build(deps): bump go.opentelemetry.io/proto/otlp from 1.11.0 to 1.11.1: #1183
  • build(deps): bump github.com/AzureAD/microsoft-authentication-library-for-go from 1.8.0 to 1.10.1: #1185
  • build(deps): bump github.com/kevinburke/ssh_config from 1.2.0 to 1.6.0: #1187
  • build(deps): bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream from 1.7.20 to 1.7.22: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.20.7 to 1.20.9: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.20.1 to 1.20.3: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/configsources from 1.5.4 to 1.5.6: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 from 2.8.4 to 2.8.6: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/internal/v4a from 1.5.4 to 1.5.6: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding from 1.13.19 to 1.13.21: #1190
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/internal/checksum from 1.11.5 to 1.11.7: #1190
  • build(deps): bump github.co...
Read more

v1.28.5

Choose a tag to compare

@mzihlmann mzihlmann released this 20 Sep 14:39
9c3dcc1

Community Update

Many thanks to @WoozyMasta, @pstoeckle, @7schroet, and @MikeMoore63 for reporting issues fixed in this release.

What's Changed

Bugfixes

  • KANIKO_DIR relocation deletes the directory instead of moving it: #1099
  • --compression-level below 1 is ignored: #1100
  • FF_KANIKO_PRESERVE_MOUNTED_SYMLINKS=false a bind-mount over a base image symlink breaks every RUN: #1080
  • a base image mixing OCI and docker media types panics the build: #1079

Standardization

  • FF_KANIKO_REPRODUCIBLE_PRESERVE_FORMAT=false --reproducible keeps the requested compression and format: #1047

Performance

  • FF_KANIKO_CACHE_HASH_BLAKE3=false hash cache-key inputs with blake3 instead of md5: by @BobDu in #1042
  • FF_KANIKO_POOL_REGISTRY_CONNECTIONS=false share one connection pool per registry: #972
  • CopyDir repeats stat and utimensat calls for every file: #1049

Usability

  • experimental support for bakefile via kaniko bake: #773

Telemetry

  • KANIKO_TELEMETRY_TOKEN_EXCHANGE_ENDPOINT exchanges a CI identity token for a collector token: #1071
  • read CI attributes from github and gitlab predefined variables: #1072
  • kaniko.build_id derives from the CI job instead of the Dockerfile: #1072

Maintenance

  • build(deps): bump step-security/harden-runner from 2.21.0 to 2.21.1: #1063
  • build(deps): bump google.golang.org/api from 0.294.0 to 0.298.0: #1062 #1077 #1097
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.1 to 1.33.5: #1068 #1081 #1090 #1101
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.4.1 to 0.4.7: #1068 #1081 #1090 #1092 #1101
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.109.1 to 1.113.1: #1068 #1081 #1090 #1092
  • build(deps): bump github.com/docker/cli from 29.7.2+incompatible to 29.8.1+incompatible: #1075 #1102
  • build(deps): bump docker/setup-qemu-action from 4.2.0 to 4.4.0: #1067 #1105
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.45.1 to 1.47.0: #1081 #1089
  • build(deps): bump github.com/google/go-containerregistry from 0.22.0 to 0.22.1: #1081
  • build(deps): bump github.com/moby/moby/api from 1.55.0 to 1.56.0: #1076
  • build(deps): bump github.com/moby/buildkit from 0.32.2 to 0.33.0: #1070
  • build(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0: #1085
  • build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0: #1083
  • build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.8.0 to 1.8.1: #1092
  • build(deps): bump go from 1.26.7 to 1.26.8: #1095
  • build(deps): bump codecov/codecov-action from 7.0.0 to 7.1.1: #1096 #1105
  • build(deps): bump docker/build-push-action from 7.3.0 to 7.4.0: #1105
  • build(deps): bump docker/setup-buildx-action from 4.3.0 to 4.4.1: #1105
  • build(deps): bump docker/setup-docker-action from 5.4.0 to 5.5.0: #1105
  • build(deps): bump github.com/osscontainertools/docker-credential-acr from 0.9.0 to 0.9.1: #1106

Fork Related

  • replace the EOL bullseye fixture for 2049 with a synthetic repro: #1078
  • inline the media type classification: #1082
  • bump diffoci to containerd v2: #1094
  • narrow azblob imports to blob and sas: #1091
  • read the GCS build context over the JSON API: #1093
  • compare integration images in the registry: #1087
  • pin the bake golden base image by digest: #1104

v1.28.4

Choose a tag to compare

@mzihlmann mzihlmann released this 31 Aug 18:29
d530ae4

Community Update

@WoozyMasta made their first contribution in #1014, and drove namespace aware registry auth across three PRs this cycle. A Quay robot account scoped to one organisation is now enough, where before you needed a credential per repository.

An extraordinary thank you to @0hlov3 for reviewing 9 PRs this cycle, and for the issues fixed along the way.

What's Changed

Security

Bugfixes

  • push ignores a credential configured for the exact destination repository: by @WoozyMasta in #1014 #1046
  • an unauthorized cross-repository mount fails the push instead of uploading the blob: by @WoozyMasta in #1013
  • COPY of a tree that spans a mount point hardlinks unrelated files together: #979
  • COPY of a directory containing a fifo hangs the build: #948

Standardization

  • FF_KANIKO_COPY_SKIP_SPECIAL_FILES=false skip sockets and device files during COPY: #948
  • FF_KANIKO_ADD_CHECKSUM=false verify the digest ADD --checksum states: #1027

Caching

  • FF_KANIKO_DEPRECATE_LAYERLESS_CACHE_ENTRIES=false reject cache entries written without a layer: #1032
  • FF_KANIKO_PLATFORM_CACHE_KEY=false add the target platform to the cache key: #1029

Performance

  • the redo hasher formats a debug line for every file even when debug logging is off: by @BobDu in #1044
  • a base read back from the shared base store uploads every layer instead of mounting it: #993

Usability

  • FF_KANIKO_PATH_SCOPED_REGISTRY_AUTH=false match an auths entry by repository namespace: by @WoozyMasta in #1002

Telemetry

  • record the rendered build plan on the trace: #1022
  • associate every span with the stage and command it belongs to: #1019
  • KANIKO_TELEMETRY_BUILD_ID overrides the build id kaniko derives from the Dockerfile: #1033

Maintenance

  • build(deps): bump step-security/harden-runner from 2.20.1 to 2.21.0: #1012
  • build(deps): bump github.com/sirupsen/logrus from 1.9.4 to 1.10.2: #1011 #1035 #1050
  • build(deps): bump google.golang.org/api from 0.292.0 to 0.294.0: #1010 #1054
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.43.5 to 1.45.1: #1015 #1035 #1057
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.36 to 1.33.1: #1015 #1035 #1057
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.3.12 to 0.4.1: #1015 #1035 #1057
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.1 to 1.109.1: #1015 #1035 #1057
  • build(deps): bump golang in /deploy: #1009 #1039
  • build(deps): bump github.com/containerd/platforms from 1.0.0-rc.4 to 1.0.0-rc.5: #1017
  • build(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0: #1020
  • build(deps): bump cloud.google.com/go/storage from 1.64.0 to 1.66.0: #1036 #1052
  • build(deps): bump github.com/google/go-containerregistry from 0.21.9 to 0.22.0: #1040
  • build(deps): bump debian in /deploy: #1045
  • build(deps): bump github.com/docker/docker-credential-helpers from 0.9.8 to 0.9.9: #1050
  • build(deps): bump go.opentelemetry.io/otel from 1.45.0 to 1.46.0: #1056
  • build(deps): bump go.opentelemetry.io/otel/sdk from 1.45.0 to 1.46.0: #1056
  • build(deps): bump go.opentelemetry.io/otel/trace from 1.45.0 to 1.46.0: #1056
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.45.0 to 1.46.0: #1056
  • build(deps): bump github.com/osscontainertools/docker-credential-acr from 0.8.0 to 0.9.0: #1059

Fork Related

  • integration test improvements: #1016 #1021 #1024 #1037
  • let the nightly image scan fail instead of filing an issue: #1006
  • strip debug symbols from the credential helper binaries: #1031

v1.28.3

Choose a tag to compare

@mzihlmann mzihlmann released this 13 Aug 22:13
e0092db

What's Changed

Security

  • prevent Azure token disclosure to lookalike azurecr.io hostnames: #1004

Bugfixes

  • --single-snapshot on a stage ending in MAINTAINER pushes an image without its layers: #1000
  • --dryrun panics when a destination is set: #999

Performance

  • FF_KANIKO_CROSS_REPO_MOUNT=false mount layers the destination registry already holds: #990
  • FF_KANIKO_SHARED_BASE_CACHE=false read COPY --from=<image> through the shared base store: #949

Telemetry

  • KANIKO_TELEMETRY_OMIT_DOCKERFILE=false keep the Dockerfile source out of the trace: by @babs in #913
  • report registry socket and request counts on the build span: #971
  • nest trace spans under the command they belong to: #931

Maintenance

  • build(deps): bump github.com/moby/go-archive from 0.2.1 to 0.3.3: #976 #977 #995
  • build(deps): bump github.com/docker/cli from 29.6.2+incompatible to 29.7.2+incompatible: #975 #977 #995
  • build(deps): bump busybox in /deploy: #974
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.43.2 to 1.43.5: #977 #995 #1003
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.33 to 1.32.36: #977 #995 #1003
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.3.7 to 0.3.12: #977 #984 #995 #1003
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.106.2 to 1.107.1: #977 #984 #995 #1003
  • build(deps): bump github.com/google/go-containerregistry from 0.21.7 to 0.21.9: #977 #995
  • build(deps): bump debian in /deploy: #982
  • build(deps): bump github.com/moby/buildkit from 0.32.0 to 0.32.2: #981 #984
  • build(deps): bump step-security/harden-runner from 2.20.0 to 2.20.1: #983
  • build(deps): bump github.com/GoogleCloudPlatform/docker-credential-gcr/v2 from 2.1.32 to 2.2.1: #986 #995
  • build(deps): bump go.opentelemetry.io/otel from 1.44.0 to 1.45.0: #988
  • build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0: #985
  • build(deps): bump golang in /deploy: #994
  • build(deps): bump google.golang.org/api from 0.291.0 to 0.292.0: #997
  • build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.44.0 to 1.45.0: #996 #1001

Fork Related

  • doc changes: #967 #968
  • remove the BENCHMARK_FILE output in favor of otel traces: #969
  • integration test improvements: #917 #980

v1.28.2

Choose a tag to compare

@mzihlmann mzihlmann released this 01 Aug 20:23
101c2c3

Community Update

📢 Join our community over on #kaniko:matrix.org
It's an open space for Q&A, announcements and technical discussions.
See you there 👋

Many thanks to @ArneTR for reporting an issue fixed in this release.

What's Changed

Security

Bugfixes

  • FF_KANIKO_RELATIVE_LINK_TARGETS=true absolute hardlink targets make docker load fail with invalid hardlink target: #947

Standardization

  • FF_KANIKO_CHOWN_ON_IMPLICIT_DIRS=false chown the parent directories WORKDIR creates implicitly to the active user: #867

Performance

  • FF_KANIKO_SKIP_CACHED_STAGES=false drop stages whose consumers all hit the cache: #871 #964
  • FF_KANIKO_SHARED_BASE_CACHE=false download a shared base image once instead of once per stage: #937

Telemetry

  • opt-in OpenTelemetry tracing via KANIKO_TELEMETRY_ENDPOINT, one trace per build: by @babs in #902 #951

Maintenance

  • build(deps): bump actions/checkout from 7.0.0 to 7.0.1: #934
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.3.3 to 0.3.7: #933 #939 #953 #955
  • build(deps): bump golang in /deploy: #932
  • build(deps): bump cloud.google.com/go/storage from 1.63.1 to 1.64.0: #935
  • build(deps): bump docker/login-action from 4.4.0 to 4.6.0: #941 #944 #950 #952
  • build(deps): bump docker/setup-docker-action from 5.3.0 to 5.4.0: #941
  • build(deps): bump google.golang.org/grpc from 1.82.0 to 1.82.1: #942
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.42.1 to 1.43.2: #939 #953 #955
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.30 to 1.32.33: #939 #953 #955
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.105.2 to 1.106.2: #939 #953 #955
  • build(deps): bump google.golang.org/api from 0.289.0 to 0.291.0: #946 #954
  • build(deps): bump github.com/go-git/go-billy/v5 from 5.9.0 to 5.9.1: #945
  • build(deps): bump github.com/moby/go-archive from 0.2.0 to 0.2.1: #945
  • build(deps): bump github.com/go-git/go-git/v5 from 5.19.1 to 5.19.2: #953
  • build(deps): bump github.com/moby/buildkit from 0.31.2 to 0.32.0: #956
  • build(deps): bump busybox in /deploy: #965

Fork Related

v1.28.1

Choose a tag to compare

@mzihlmann mzihlmann released this 18 Jul 23:26
3ac857f

Community Update

@JSap0914 made their first contribution in #912
@Dodothereal made their first contribution in #926

Also many thanks to @bootc, @pstoeckle, @7schroet, and @henryfoster for reporting issues fixed in this release.

We thank our sponsor Siemens for sponsoring kaniko with a generous grant, and especially the team behind Open Source @ Siemens for consistently championing open source.

We are also grateful to @bootc for joining as an individual sponsor.

What's Changed

Security

Bugfixes

  • inconsistent feature flag defaults crash a build, fixed by consolidating flags into a central registry: #853 #854 #918
  • cross-stage COPY --from trips the cache-key assertion when the source stage has uncached run layers under --cache-run-layers=false: #899
  • --reproducible with preserved base layers produces a manifest that mixes Docker and OCI media types, which strict readers reject: #858
  • RUN --mount=type=bind under --use-new-run fails the cached rebuild with lstat: no such file or directory: #900
  • repeatedly copying a relative symlink to the same destination corrupts the target and later fails with too many links: by @Dodothereal in #926

Standardization

  • FF_KANIKO_RUN_HONOR_GROUP=false honor an explicit group from USER user:group in RUN: #840
  • FF_KANIKO_EXPAND_HEREDOC=false expand build args and env in unquoted COPY and ADD heredoc bodies: #821
  • FF_KANIKO_COPY_CHMOD_ON_IMPLICIT_DIRS=false apply COPY --chmod to implicitly created parent directories too: #866

Caching

  • FF_KANIKO_ROLLING_CACHE_KEY=false fold composite cache-key parts into a rolling hash so distinct key sequences can no longer collide: #875
  • COPY, ADD, and RUN heredoc bodies were not keyed, so changing only a heredoc body reused a stale cached layer: #823 #825
  • FF_KANIKO_HASH_DIR_FRAMING=false length-prefix directory paths and file hashes in the cache key so distinct directory trees can no longer collide: by @JSap0914 in #912

Performance

  • FF_KANIKO_PRECOMPILE_DOCKERIGNORE=false compile .dockerignore patterns once per build instead of once per file: #887

Usability

  • --image-format=docker|oci sets the output image format explicitly instead of letting it silently follow the base image: #850

Maintenance

  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.25 to 1.32.30: #857 #862 #886 #895 #907
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.2.11 to 0.3.3: #857 #862 #886 #895 #907 #924
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.104.0 to 1.105.2: #857 #862 #886 #907 #924
  • build(deps): bump golang in /deploy: #856 #893 #905 #910 #914
  • build(deps): bump docker/setup-qemu-action from 4.1.0 to 4.2.0: #860
  • build(deps): bump docker/build-push-action from 7.2.0 to 7.3.0: #860
  • build(deps): bump docker/setup-docker-action from 5.2.0 to 5.3.0: #860
  • build(deps): bump google.golang.org/api from 0.286.0 to 0.289.0: #859 #889 #898 #925
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.42.0 to 1.42.1: #862
  • build(deps): bump docker/setup-buildx-action from 4.1.0 to 4.2.0: #861
  • build(deps): bump docker/login-action from 4.2.0 to 4.4.0: #861 #865
  • build(deps): bump step-security/harden-runner from 2.19.4 to 2.20.0: #885
  • build(deps): bump golang.org/x/sys from 0.46.0 to 0.47.0: #891
  • build(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0: #890
  • build(deps): bump cloud.google.com/go/storage from 1.63.0 to 1.63.1: #903
  • build(deps): bump debian in /deploy: #906
  • build(deps): bump github.com/moby/buildkit from 0.31.1 to 0.31.2: #915
  • build(deps): bump actions/setup-go from 6.5.0 to 7.0.0: #916
  • build(deps): bump github.com/docker/cli from 29.6.1 to 29.6.2: #924

Fork Related

  • doc changes: #855 #877 #909 #908 #929
  • use KanikoEnv in all integration executor invocations: #808
  • stop ignoring layer-length mismatch in integration tests: #847
  • unpin FF_KANIKO_NO_PROPAGATE_ANNOTATIONS in the golden suite and rotate cache keys: #874
  • limit integration test parallelism to 8: #919

Refactorings

v1.28.0

Choose a tag to compare

@mzihlmann mzihlmann released this 28 Jun 09:07
3f96357

Update Notice

Kaniko now officially features an Alpine variant, making it effortless customize your builder:

FROM ghcr.io/osscontainertools/kaniko:v1.28.0-alpine
RUN apk add --no-cache curl jq

In this Release we activated these feature-flags:

⚠️ Some of these flags change how cache keys are computed. In particular FF_KANIKO_NO_PROPAGATE_ANNOTATIONS shifts every base-image-derived key, and FF_KANIKO_BUILDKIT_ARG_ENV_PRECEDENCE changes keys for builds with ARG/ENV. Existing cache entries are invalidated, so the first build after upgrading is a full rebuild that repopulates the cache.

⚠️ FF_KANIKO_OCI_WARMER switches the warmer to an OCI layout, so an existing warmer cache can no longer be used and can be deleted.

FF_KANIKO_RUN_MOUNT_BIND lets you mount a file from the build context into a RUN step instead of COPY-ing it in, so it never lands in a layer:

RUN --mount=type=bind,source=requirements.txt,target=requirements.txt \
  uv pip install -r requirements.txt

ℹ️ Cross-stage bind mounts from=<stage> are not yet supported.

FF_KANIKO_VOLUME_SKIP_MKDIR stops kaniko from creating the directory declared by VOLUME, matching docker. Creating it gave the directory a fresh mtime on every run, which broke cache hits in downstream stages, so until now a VOLUME was silently invalidating your cache. If a later step relies on the directory existing, create it yourself with RUN, or WORKDIR if your base image has no shell:

VOLUME /data
WORKDIR /data

FF_KANIKO_BUILDKIT_ARG_ENV_PRECEDENCE resolves an ARG and ENV of the same name by declaration order, matching BuildKit. An ARG declared after an ENV (including one inherited from a base image) now wins, where kaniko previously let the ENV win unconditionally:

FROM alpine AS base
ENV HELLO=upstream

FROM base AS child
ARG HELLO
RUN echo $HELLO   # now prints the --build-arg value, not "upstream"

If you relied on the old behaviour, move the ENV after the ARG so it keeps overriding.

FF_KANIKO_PRESERVE_HARDLINKS keeps hardlinks intact when you COPY --from=<image> a remote image instead of expanding each into an independent file, which can significantly shrink images that rely on hardlinks (e.g. git installs where many binaries share one inode). No migration needed, the output is smaller for the same input.

ℹ️ Hardlinks from other build stages are not yet preserved, only from remote images.

FF_KANIKO_DEPRECATE_INTER_STAGE_RESTORE disables the inter-stage restore that --preserve-context performed between stages. Its original purpose, smuggling secrets across stages, is now served by RUN --mount=type=secret:

RUN --mount=type=secret,id=netrc,target=/root/.netrc \
  uv pip install -r requirements.txt

FF_KANIKO_NO_PROPAGATE_ANNOTATIONS stops copying the base image's OCI manifest annotations onto your built image, matching docker. Building FROM ubuntu:24.04 previously inherited ubuntu's annotations, so your image falsely advertised itself as ubuntu:

"org.opencontainers.image.url": "https://hub.docker.com/_/ubuntu",
"org.opencontainers.image.source": "https://git.launchpad.net/cloud-images/+oci/ubuntu-base",
"org.opencontainers.image.version": "24.04"

FF_KANIKO_PRESERVE_MOUNTED_PATHS lets you run kaniko on a pod that requests an NVIDIA GPU. The GPU operator bind-mounts driver artifacts read-only into the build container, and kaniko used to fail with device or resource busy when a base layer shipped a directory along one of those mount paths. It now leaves the mount in place.

FF_KANIKO_OCI_WARMER stores the warmer cache as an OCI layout, so a build from warmer cache now produces the same image as building straight from the registry. The old tarball format forced every image to the docker mediatype. The flag is passed to both the warmer and the executor. FF_KANIKO_WARMER_CACHE_LOCK lets you run several warmers against one shared cache volume without them racing or re-downloading the same image.

You can roll-back those changes by overriding them in the environment ie.

job:
  variables:
    FF_KANIKO_RUN_MOUNT_BIND: "0"
    FF_KANIKO_NO_PROPAGATE_ANNOTATIONS: "0"
    FF_KANIKO_VOLUME_SKIP_MKDIR: "0"
    FF_KANIKO_PRESERVE_HARDLINKS: "0"
    FF_KANIKO_BUILDKIT_ARG_ENV_PRECEDENCE: "0"
    FF_KANIKO_PRESERVE_MOUNTED_PATHS: "0"
    FF_KANIKO_DEPRECATE_INTER_STAGE_RESTORE: "0"
    FF_KANIKO_OCI_WARMER: "0"
    FF_KANIKO_WARMER_CACHE_LOCK: "0"

Please also notify us by filing a new issue.

We further removed these feature-flags:

  • FF_KANIKO_SQUASH_STAGES
  • FF_KANIKO_OCI_STAGES
  • FF_KANIKO_RUN_MOUNT_SECRET

Their behavior is now unconditional, they have no effect and can be removed.

Community Update

Many thanks to @FrancisQuaisr, @bootc, and @E314c for reporting issues fixed in this release.

What's Changed

Security

  • 🔗 FF_KANIKO_SECUREJOIN_EXTRACTION=true symlink-based path traversal during tar extraction prevented with SecureJoin: by @8none1 in #828

Bugfixes

  • cache lookahead trips the cache-key assertion when a stage is FROM a base that sets ENV: #783
  • cache lookahead trips the cache-hit assertion when the cache changes between the precompute and build passes: #788
  • cache lookahead trips the cache-key assertion when a stage includes a cross-stage COPY --from that cannot be precomputed: #790
  • VOLUME with --cache trips the without-fs assertion: #795

Standardization

  • FF_KANIKO_SKIP_WRITE_WHITEOUTS=false cross-stage COPY --from on a cache hit copies whiteout markers as real files and silently deletes targets in later builds: #796
  • FF_KANIKO_UNTAR_SKIP_ROOT=false ADD with a tar archive overwrites the destination directory mode and ownership from the archive root entry: #842
  • COPY and ADD --chmod now accepts symbolic notation (e.g. go=u, u=rwX,go=rX) in addition to octal: #800

Caching

  • FF_KANIKO_INFER_CROSS_STAGE_CACHE_KEY=false cross-stage COPY cache key is now consumed during build, completing the inference chain: #767
  • FF_KANIKO_RESOLVE_CACHE_KEY=false COPY, ADD, and WORKDIR layer cache keys now reflect build args and env referenced in the instruction so a variable change invalidates the right entries: #792 #801 #837

Performance

  • FF_KANIKO_SKIP_RELABEL_RECOMPRESS=false skip re-gzip when relabeling a cached layer to a different media type: #778

Maintenance

  • build(deps): bump golang.org/x/sync from 0.20.0 to 0.21.0: #771
  • build(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.2.7 to 0.2.11: #769 #776 #786 #803
  • build(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0: #768
  • build(deps): bump golang.org/x/sys from 0.45.0 to 0.46.0: #770
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.23 to 1.32.25: #776 #786
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.2 to 1.104.0: #776 #803
  • build(deps): bump github.com/docker/docker-credential-helpers from 0.9.7 to 0.9.8: #776
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.12 to 1.42.0: #776 #786 #803
  • build(deps): bump golang in /deploy: #779 #785 #797 #818
  • build...
Read more
⌂ 换网址