Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Makefile support for DOCKER_IMAGE_SUFFIX, CI_BUILD, and KIND_LOAD
DOCKER_IMAGE_SUFFIX, if defined, will be added to the end of th docker image name, before the tag. For example: $ DOCKER_IMAGE_SUFFIX=-ci make docker-cilium-image will build `quay.io/cilium/cilium-ci:latest` CI_BUILD, if defined, will define DOCKER_IMAGE_SUFFIX as "-ci", and DOCKER_IMAGE_TAG as the git HEAD SHA, which will then replace the default "latest" tag in the example above. This helps build local images with the same image reference that real CI builds would use. KIND_LOAD, if defined, will load the build image with "kind load" one second after the build completes. The one second delay was required as without it "kind load" sometimes reported that it can't find the image that was just built. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
- Loading branch information