mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
kernel builder handle push properly
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
parent
67afa5d380
commit
17ed8938e0
@ -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) && \
|
||||
|
Loading…
Reference in New Issue
Block a user