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_iotlcmupstreamproxy:v0 | gr
|
||||
.PHONY: docker_iotlcmupstreamproxy
|
||||
docker_iotlcmupstreamproxy:
|
||||
if [ -n "${HasImages}" ]; then \
|
||||
docker tag docker_iotlcmupstreamproxy:v0 ${REGISTRY}/docker_iotlcmupstreamproxy:v0 \
|
||||
docker tag docker_iotlcmupstreamproxy:v0 docker_iotlcmupstreamproxy:v0.${NOWTIME}.bak; \
|
||||
docker rmi docker_iotlcmupstreamproxy:v0; \
|
||||
fi
|
||||
docker build --rm -f build/Dockerfile --progress=plain --platform linux/amd64 -t docker_iotlcmupstreamproxy:v0 --build-arg BuildVersion=${BuildVersion} --build-arg BuildTime=${BuildTime} --build-arg CommitID=${CommitID} .
|
||||
@@ -96,4 +92,3 @@ docker_iotlcmupstreamproxy:
|
||||
|
||||
dockerbuild: docker_iotlcmupstreamproxy
|
||||
echo "docker build success"
|
||||
dockerpush:
|
||||
Reference in New Issue
Block a user