From f8ec9c09479d5af9fa797caab696e5f33943ae4c Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 11 Sep 2018 18:04:13 +0300 Subject: [PATCH] Fix multi-arch docker push --- Makefile | 6 +++--- docs/8-istio-openfaas.md | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 29752c3a..88ab3b34 100644 --- a/Makefile +++ b/Makefile @@ -73,9 +73,9 @@ docker-build: tar .PHONY: docker-push docker-push: @echo Pushing: $(VERSION) to $(DOCKER_IMAGE_NAME) - for arch in $(LINUX_ARCH); do \ - docker push $(DOCKER_IMAGE_NAME):$(NAME)-$$arch ;\ - done + for arch in $(LINUX_ARCH); do \ + docker push $(DOCKER_IMAGE_NAME):$(NAME)-$$arch ;\ + done manifest-tool push from-args --platforms $(PLATFORMS) --template $(DOCKER_IMAGE_NAME):podinfo-ARCH --target $(DOCKER_IMAGE_NAME):$(VERSION) manifest-tool push from-args --platforms $(PLATFORMS) --template $(DOCKER_IMAGE_NAME):podinfo-ARCH --target $(DOCKER_IMAGE_NAME):latest diff --git a/docs/8-istio-openfaas.md b/docs/8-istio-openfaas.md index 329854a9..0241587b 100644 --- a/docs/8-istio-openfaas.md +++ b/docs/8-istio-openfaas.md @@ -368,8 +368,7 @@ helm upgrade --install openfaas ./chart/openfaas \ --set securityContext=true \ --set basic_auth=true \ --set exposeServices=false \ ---set operator.createCRD=true \ ---set gateway.image=stefanprodan/gateway:istio5 +--set operator.createCRD=true ``` Wait for OpenFaaS Gateway to come online: