From 4ba0cb83f5dc88817260cb2b2dfde491c6b5ba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Fri, 7 Apr 2023 16:40:52 +0800 Subject: [PATCH] =?UTF-8?q?build(scripts):=20=E6=9B=B4=E6=96=B0=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build-image.sh | 8 -------- scripts/docker-env.sh | 1 + scripts/release.sh | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100755 scripts/build-image.sh diff --git a/scripts/build-image.sh b/scripts/build-image.sh deleted file mode 100755 index 1373ccb..0000000 --- a/scripts/build-image.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env sh -docker login harbor.luxcreo.cn -u php -p fTr6oVvqqdzVlYgnZhRPPAP54u7SmqGA - -image_name=harbor.luxcreo.cn/php/composer-template -docker build --tag $image_name . - -#docker push $image_name -#docker push ${image_name}-dev diff --git a/scripts/docker-env.sh b/scripts/docker-env.sh index caf8012..ecc3130 100755 --- a/scripts/docker-env.sh +++ b/scripts/docker-env.sh @@ -6,4 +6,5 @@ docker run \ -w "/srv/www" \ -v "$(pwd)":/srv/www \ -v ~/.ssh:/root/.ssh \ + -v ~/.gitconfig:/root/.gitconfig \ harbor.luxcreo.cn/library/hyperf:8.0-swoole /bin/ash diff --git a/scripts/release.sh b/scripts/release.sh index 0de2140..d141824 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh docker run --rm -it \ - -v $(pwd):/app -e "GIT_AUTHOR_NAME=ch4o5" -e "EMAIL=dongyun.li@luxcreo.ai" \ + -v $(pwd):/app -e "GIT_AUTHOR_NAME=$(git config user.name)" -e "EMAIL=$(git config user.email)" \ detouched/standard-version:latest $1