Fix multi-platform build in Makefile
This commit is contained in:
parent
78d0de2f52
commit
42e6d691fa
5
Makefile
5
Makefile
|
|
@ -147,12 +147,13 @@ push-name:
|
|||
@echo "pushed: $(IMAGE):$(TAG)"
|
||||
|
||||
# This depends on github.com/estesp/manifest-tool in $PATH.
|
||||
manifest-list: push
|
||||
manifest-list: all-push
|
||||
platforms=$$(echo $(ALL_PLATFORMS) | sed 's/ /,/g'); \
|
||||
manifest-tool \
|
||||
--username=oauth2accesstoken \
|
||||
--password=$$(gcloud auth print-access-token) \
|
||||
push from-args \
|
||||
--platforms "$(ALL_PLATFORMS)" \
|
||||
--platforms "$$platforms" \
|
||||
--template $(REGISTRY)/$(BIN):$(VERSION)__OS_ARCH \
|
||||
--target $(REGISTRY)/$(BIN):$(VERSION)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue