From bdef62508ebaefe7472cd1f98c3e8dc6725b73cf Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Wed, 19 Dec 2018 08:53:08 +0100 Subject: [PATCH] adapt makefile for utils image Signed-off-by: Felix Bartels --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index dfa0e12..accf0d8 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ docker_pwd := `cat ~/.docker-account-pwd` base_version = $(shell docker run --rm $(docker_repo)/kopano_base cat /kopano/buildversion) base_download_version := $(shell ./version.sh core) core_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)') +utils_version = $(shell docker run --rm $(docker_repo)/kopano_core cat /kopano/buildversion | grep -o -P '(?<=-).*(?=\+)') core_download_version := $(shell ./version.sh core) webapp_version = $(shell docker run --rm $(docker_repo)/kopano_webapp cat /kopano/buildversion | tail -n 1 | grep -o -P '(?<=-).*(?=\+)') webapp_download_version := $(shell ./version.sh webapp) @@ -79,6 +80,9 @@ tag-base: tag-core: component=core make tag +tag-utils: + component=utils make tag + tag-webapp: component=webapp make tag @@ -105,6 +109,9 @@ publish-base: build-base tag-base publish-core: build-core tag-core component=core make publish-container +publish-utils: build-core build-utils tag-utils + component=utils make publish-container + publish-webapp: build-webapp tag-webapp component=webapp make publish-container