mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-02 15:37:11 +00:00
kernel builder handle push properly
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -137,6 +137,10 @@ builddebugkernel-%: buildkerneldeps-%
|
||||
|
||||
push-%: notdirty build-% pushkernel-% tagbuilder-% pushtools-%;
|
||||
|
||||
# tagbuilder-% tags the builder image with the kernel version and `-builder` and pushes it
|
||||
# checks if it already matches on the registry before pushing
|
||||
# because the build may have been on a remote builder, or we may not have had to do a local build,
|
||||
# we cannot assume that IMAGE_BUILDER is available locally, whether in docker image cache or limuxkit cache
|
||||
tagbuilder-%: notdirty
|
||||
$(eval BUILDER_IMAGE=$(call baseimage,$*)-builder)
|
||||
docker tag $(IMAGE_BUILDER) $(BUILDER_IMAGE)$(SUFFIX) && \
|
||||
|
Reference in New Issue
Block a user