calpine-node/Makefile

21 lines
511 B
Makefile
Raw Normal View History

DOCKER_IMAGE=cubetiq/calpine-node
DOCKER_IMAGE_GIT=cubetiq/calpine-node-git
2021-12-23 09:18:49 +07:00
DOCKER_IMAGE_NAME=${DOCKER_IMAGE}:16
build:
@echo 'Starting docker build'
docker build . -t ${DOCKER_IMAGE}
@echo 'Starting docker push'
docker tag ${DOCKER_IMAGE} ${DOCKER_IMAGE_NAME}
docker push ${DOCKER_IMAGE}
docker push ${DOCKER_IMAGE_NAME}
@echo 'Starting docker build with git'
2022-05-06 10:42:21 +07:00
docker build -f Dockerfile.git . -t ${DOCKER_IMAGE}
@echo 'Starting docker push with git'
docker push ${DOCKER_IMAGE_GIT}
2022-05-06 10:42:21 +07:00
.PHONY:build