diff --git a/Makefile b/Makefile index ad82d44..0a1e487 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,8 @@ -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 - +DOCKER_IMAGE = cubetiq/calpine-os-linux:3.13 +DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE) | cut -d\ -f2) build: ./src/build.sh @echo "Size of the image: ${DOCKER_IMAGE_SIZE}" - - docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}:latest docker push ${DOCKER_IMAGE} - docker push ${DOCKER_IMAGE_NAME} .PHONY: build diff --git a/README.md b/README.md index c16ee23..ddc7763 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CUBETIQ Alpine OS Linux +# CUBETIQ Alpine OS Linux 3.13 ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cubetiq/calpine-os-linux) ![Docker Pulls](https://img.shields.io/docker/pulls/cubetiq/calpine-os-linux) @@ -14,7 +14,7 @@ make build # [Docker Hub](https://hub.docker.com/r/cubetiq/calpine-os-linux) ### Pull image ```shell -docker pull cubetiq/calpine-os-linux:latest +docker pull cubetiq/calpine-os-linux:3.13 ``` ### Running container