From 7ea1becf243df08b832c8396cbc86a4a377f78ea Mon Sep 17 00:00:00 2001 From: Adrien le Maire Date: Thu, 29 Apr 2021 13:56:47 +0000 Subject: [PATCH] Update Makefile --- synapse/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/synapse/Makefile b/synapse/Makefile index f48b74b..aa9ec62 100644 --- a/synapse/Makefile +++ b/synapse/Makefile @@ -2,6 +2,7 @@ NAMESPACE=alemairebe VERSION=1.32.2 IMAGE=synapse +.ONESHELL: # Applies to every targets in the file! push: get decompress build @@ -12,7 +13,8 @@ decompress: tar -xf v$(VERSION).tar.gz build: + cd ${IMAGE}-${VERSION} && pwd docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \ --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ - --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ - --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) ${IMAGE}-$(VERSION)/docker + --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ + --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) docker