- NAME=idcard
- VERSION=latest
- BUILD_TIME := $(shell date "+%F %T")
- COMMIT_SHA1 := $(shell git rev-parse HEAD)
- AUTHOR := $(shell git show -s --format='%an')
- .PHONY: local
- local:
- @docker build -t registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):$(VERSION) .
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):$(VERSION)
|