Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit babf0ca

Browse files
committed
missing funcs
1 parent c8173af commit babf0ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ IMAGENAME ?= $(BUILD_IMAGE):$(IMAGETAG)-$(ARCH)
7070
MANIFEST_VERSION ?= 1.0.0
7171
MANIFEST_URL = https://github.com/estesp/manifest-tool/releases/download/v$(MANIFEST_VERSION)/manifest-tool-$(BUILDOS)-$(BUILDARCH)
7272

73+
# these macros create a list of valid architectures for pushing manifests
74+
space :=
75+
space +=
76+
comma := ,
77+
prefix_linux = $(addprefix linux/,$(strip $1))
78+
join_platforms = $(subst $(space),$(comma),$(call prefix_linux,$(strip $1)))
79+
7380
GO ?= GO111MODULE=on CGO_ENABLED=0 go
7481

7582

0 commit comments

Comments
 (0)