apphub delete set gitea accout

This commit is contained in:
qiaofeng1227 2023-10-10 12:08:28 +08:00
parent eb52a69e5e
commit be6592fe97
2 changed files with 1 additions and 13 deletions

View File

@ -1,6 +1,6 @@
FROM python:3.10-bullseye AS buildstage
LABEL maintainer="Websoft9<help@websoft9.com>"
LABEL version="0.0.2"
LABEL version="0.0.3"
ENV LIBRARY_VERSION=v0.5.8

View File

@ -25,18 +25,6 @@ set +e
check_file_exists "/websoft9/credentials/credential_proxy" 1
check_file_exists "/websoft9/credentials/credential_deployment" 1
check_file_exists "/websoft9/credentials/credential_git" 1
# set git user and email
if [ $? -eq 0 ]; then
username=$(jq -r '.username' /websoft9/credentials/credential_git)
password=$(jq -r '.email' /websoft9/credentials/credential_git)
else
echo "Git set with default value"
username="websoft9"
password="help@websoft9.com"
fi
git config --global user.name "$username"
git config --global user.email "$password"
set -e
# start by supervisord