From 651ba25c0e96d3ae0d87a3f03939ecd136ec7387 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 26 Mar 2021 12:36:17 +0700 Subject: [PATCH] Updated and push both of version --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c8423c9..ad82d44 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,13 @@ DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2) +DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.13 build: ./src/build.sh @echo "Size of the image: ${DOCKER_IMAGE_SIZE}" - docker tag ${DOCKER_IMAGE_NAME}:3.13 ${DOCKER_IMAGE_NAME}:latest + docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}:latest + docker push ${DOCKER_IMAGE} docker push ${DOCKER_IMAGE_NAME} .PHONY: build