Build qa-image with buildkit
What does this MR do?
Build qa-image with buildkit instead of kaniko. https://github.com/moby/buildkit
pros:
- buildkit is used by docker itself, potentially more predictable result of built image
- IMO better log output
- stores cache together with the image, doesn't create additional registry for cache
- advanced build and caching options that might prove useful in other usecases
- significantly faster for fully cached builds that do not change anything in qa image. 5 seconds vs ~1 minute https://gitlab.com/gitlab-org/gitlab/-/jobs/1432678068 vs https://gitlab.com/gitlab-org/gitlab/-/jobs/1432678067
cons:
- slower for partially cached or full image build, https://gitlab.com/gitlab-org/gitlab/-/jobs/1432675987 vs https://gitlab.com/gitlab-org/gitlab/-/jobs/1432677063
Edited by Andrejs Cunskis