Changelog
Introduce new backend to build image : buildkit
🥳
This change is motivated by the fact that Kaniko is no longer maintained, and BuildKit offers a more feature-rich and integrated solution (see #695).
Warning
Old builders : kaniko
, docker
are now deprecated
New features
- ee73191 feat: introduce buildkit backend
- 7f41bed feat: Add Kubernetes executor for Buildkit
- 85d6755 feat: add support for rootless mode in buildkit utility functions
- 81229bd feat: deprecate mark Docker and Kaniko backends as deprecated in documentation and code
- c1af608 feat: introduce basic dev container (#733)
- 249fd35 feat: set default push option to true for Kubernetes executor and add configuration files
Bug fixes
- 4c10feb fix(kaniko): remove dependency to deprecated and vulnerable package: github.com/mholt/archiver
- e783b0c fix: config tag typo
- ad283fe fix: improve build directory doc
- 615e077 fix: prevent image retagging with BuildKit backend and add worker type detection
- 4dc5cff fix: update configuration file names and log level variable
- f620529 fix: update ldflags to use correct package path for versioning
Dependency upgrades
- 9e87e4d chore(deps): update actions/download-artifact action to v4.2.1
- 50ee5c4 chore(deps): update actions/download-artifact action to v4.3.0 (#739)
- 161b8f7 chore(deps): update actions/setup-go action to v5.5.0 (#747)
- 9726a20 chore(deps): update actions/upload-artifact action to v4.6.2
- 9a14c82 chore(deps): update codecov/codecov-action action to v5.4.2
- 898a24f chore(deps): update codecov/codecov-action action to v5.4.3 (#755)
- c800969 chore(deps): update dependency go to v1.24.2
- 4f37fc5 chore(deps): update dependency go to v1.24.3
- 3e4d098 chore(deps): update dependency goreleaser/goreleaser to v2.8.2
- a540d24 chore(deps): update dependency goreleaser/goreleaser to v2.9.0 (#741)
- 0c6df58 chore(deps): update dependency moby/buildkit to v0.22.0
- 3387622 chore(deps): update golangci-lint (#738)
- d2895a9 chore(deps): update golangci-lint (#742)
- 632b752 chore(deps): update goreleaser/goreleaser-action action to v6.3.0
- fc81d24 chore(deps): update k8s.io/utils digest to 1f6e0b7
- 8647b5e chore(deps): update kubernetes packages to v0.32.4
- 3b569aa chore(deps): update kubernetes packages to v0.33.0 (#737)
- 99218ea chore(deps): update kubernetes packages to v0.33.1 (#756)
- cb7f38f chore(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.29.14
- 5d12d53 chore(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.79.2
- 480b85d chore(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.79.3 (#740)
- ef8d45c chore(deps): update module github.com/docker/cli to v27.5.1+incompatible
- daf88a4 chore(deps): update module github.com/docker/cli to v28
- 5ec5fa7 chore(deps): update module github.com/radiofrance/go-containerregistry to v0.1.2
- be2d8b0 chore(deps): update module github.com/radiofrance/kubecli to v0.6.2
- 2dcfb1c chore(deps): update module github.com/spf13/viper to v1.20.1
- 0c8fc2d chore(deps): update module golang.org/x/sync to v0.13.0
- 6aa39ca chore(deps): update module golang.org/x/sync to v0.14.0 (#744)
- 48fc9d5 chore(deps): update zgosalvez/github-actions-ensure-sha-pinned-actions action to v3.0.23
- f6e1b79 chore(deps): update zgosalvez/github-actions-ensure-sha-pinned-actions action to v3.0.25 (#743)
Other changes
- dc28b12 Add cross-platform rootless detection in builder test
- 3548462 Enhance Kubernetes pod environment variable configuration
- 9f6a653 add buildctl script and Dockerfile for buildkitd integration && documentation
- b8fa524 add rootless utility functions for environment handling
- daa443e bump cobra version
- d067f9a deprecate: update reference.yaml to clarify deprecation of Docker and Kaniko backends
- 2c9661d fix: linter issues
- 36a077a fix: linters
- bb647c6 maint(golangci-lint): bump to v2.1.2 (#723)
- 3f7c762 refact: package
cmd
(#731) - 815fe76 refacto && simplify cobra build cmd
- 0af9573 refacto the mk to support the introduction of buildkit
- 98204a7 rename: update references from Docker Image Builder to DAG Image Builder in documentation
- 466c88e update build command flags and remove debug logging
- dc29da3 refact(kaniko): improve testing of createArchive function
Full changes: v0.24.0...v0.25.0
Thanks to: @fahedouch @Thibaut-gauvin @antoinegelloz
Release manager: @fahedouch @Thibaut-gauvin