123456789101112131415161718192021222324252627282930313233 |
- NAME=helmbe
- VERSION=latest
- BUILD_TIME := $(shell date "+%F %T")
- COMMIT_SHA1 := $(shell git rev-parse HEAD)
- AUTHOR := $(shell git show -s --format='%an')
- .PHONY: idctest sxkj
- all:
- idctest:
- @docker build --target image-idctest -t registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):idctest .
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):idctest
- idcprod:
- @docker build --target image-idcprod -t registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):idcprod .
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):idcprod
- sxkj:
- @docker build --target image-sxkj -t SXKJ:32775/$(NAME):sxkj .
- @docker push SXKJ:32775/$(NAME):sxkj
- txtest:
- @docker build --target image-txtest -t registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):txtest .
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):txtest
- txprod:
- @docker build --target image-txprod -t registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):txprod .
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/$(NAME):txprod
- rsync:
- @rsync -azP --exclude ".*/" --exclude "tmp/" --exclude "dag-jupyter/vendor/" `pwd` sxkj@192.168.199.109:/home/sxkj/zhangli/
|