sync: 同步 v1.0.4 开源代码并脱敏
This commit is contained in:
+2
-7
@@ -5,7 +5,7 @@
|
||||
up: cli.install
|
||||
@gf up -a
|
||||
|
||||
# Build binary using configuration from hack/config.yaml.
|
||||
# Build binary using configuration from hack/config.example.yaml.
|
||||
.PHONY: build
|
||||
build: cli.install
|
||||
@gf build -ew
|
||||
@@ -75,10 +75,6 @@ pbentity: cli.install
|
||||
@gf gen pbentity
|
||||
|
||||
|
||||
mod:
|
||||
|
||||
|
||||
|
||||
export AppName=jieiot_linux
|
||||
export BuildVersion=$(shell git describe --abbrev=0 --tags)
|
||||
export BuildTime=$(shell date +%FT%T%z)
|
||||
@@ -88,7 +84,7 @@ export HasImages=$(shell docker images | grep docker_iotlcmupstreamchan:v0 | gre
|
||||
.PHONY: docker_iotlcmupstreamchan
|
||||
docker_iotlcmupstreamchan:
|
||||
if [ -n "${HasImages}" ]; then \
|
||||
docker tag docker_iotlcmupstreamchan:v0 ${REGISTRY}/iotlcm/iotlcmupstreamchansvr:v0 \
|
||||
docker tag docker_iotlcmupstreamchan:v0 docker_iotlcmupstreamchan:v0.${NOWTIME}.bak; \
|
||||
docker rmi docker_iotlcmupstreamchan:v0; \
|
||||
fi
|
||||
docker build --rm -f build/Dockerfile --progress=plain --platform linux/amd64 -t docker_iotlcmupstreamchan:v0 --build-arg BuildVersion=${BuildVersion} --build-arg BuildTime=${BuildTime} --build-arg CommitID=${CommitID} .
|
||||
@@ -96,4 +92,3 @@ docker_iotlcmupstreamchan:
|
||||
|
||||
dockerbuild: docker_iotlcmupstreamchan
|
||||
echo "docker build success"
|
||||
dockerpush:
|
||||
Reference in New Issue
Block a user