Skip to content

Commit 6139b6d

Browse files
committed
Quiet docker output; tag/push images in parallel
1 parent c3b0f94 commit 6139b6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib.Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ retag-build-images-with-registry-%:
904904
# retag-build-image-with-registry-% retags the build arch images specified by $* and VALIDARCHES with the
905905
# registry specified by REGISTRY.
906906
retag-build-image-with-registry-%: var-require-all-REGISTRY-BUILD_IMAGES
907-
$(MAKE) $(addprefix retag-build-image-arch-with-registry-,$(VALIDARCHES)) BUILD_IMAGE=$(call unescapefs,$*)
907+
$(MAKE) -j12 $(addprefix retag-build-image-arch-with-registry-,$(VALIDARCHES)) BUILD_IMAGE=$(call unescapefs,$*)
908908

909909
# retag-build-image-arch-with-registry-% retags the build / arch image specified by $* and BUILD_IMAGE with the
910910
# registry specified by REGISTRY.
@@ -927,13 +927,13 @@ push-images-to-registry-%:
927927
# push-image-to-registry-% pushes the build / arch images specified by $* and VALIDARCHES to the registry
928928
# specified by REGISTRY.
929929
push-image-to-registry-%:
930-
$(MAKE) $(addprefix push-image-arch-to-registry-,$(VALIDARCHES)) BUILD_IMAGE=$(call unescapefs,$*)
930+
$(MAKE) -j6 $(addprefix push-image-arch-to-registry-,$(VALIDARCHES)) BUILD_IMAGE=$(call unescapefs,$*)
931931

932932
# push-image-arch-to-registry-% pushes the build / arch image specified by $* and BUILD_IMAGE to the registry
933933
# specified by REGISTRY.
934934
push-image-arch-to-registry-%:
935935
# If the registry we want to push to doesn't not support manifests don't push the ARCH image.
936-
$(DOCKER) push $(call filter-registry,$(REGISTRY))$(BUILD_IMAGE):$(IMAGETAG)-$*
936+
$(DOCKER) push --quiet $(call filter-registry,$(REGISTRY))$(BUILD_IMAGE):$(IMAGETAG)-$*
937937
$(if $(filter $*,amd64),\
938938
$(DOCKER) push $(REGISTRY)/$(BUILD_IMAGE):$(IMAGETAG),\
939939
$(NOECHO) $(NOOP)\

0 commit comments

Comments
 (0)