init
This commit is contained in:
17
osdict_front/Makefile
Normal file
17
osdict_front/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
WORKDIR = $(shell pwd)
|
||||
PROJECT_NAME = osdict_front
|
||||
DOCKER_HUB_ADDR = registry.cn-beijing.aliyuncs.com/cypress-boat
|
||||
IMAGE_REPOSITORY = ${DOCKER_HUB_ADDR}/${PROJECT_NAME}
|
||||
TAG ?= latest
|
||||
IMAGE_REPOSITORY_TAG = ${IMAGE_REPOSITORY}:${TAG}
|
||||
|
||||
.PHONY: image publish
|
||||
|
||||
image:
|
||||
docker build --platform=amd64 -t ${IMAGE_REPOSITORY_TAG} .
|
||||
|
||||
publish:
|
||||
@echo "push ${IMAGE_REPOSITORY_TAG}"
|
||||
docker push ${IMAGE_REPOSITORY_TAG}
|
||||
|
||||
all: image publish
|
Reference in New Issue
Block a user