Updated and push both of version

This commit is contained in:
Sambo Chea 2021-03-26 12:36:17 +07:00
parent 68c816ff26
commit 651ba25c0e

View File

@ -1,11 +1,13 @@
DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux 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_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.13
build: build:
./src/build.sh ./src/build.sh
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}" @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} docker push ${DOCKER_IMAGE_NAME}
.PHONY: build .PHONY: build