mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
apphub delete set gitea accout
This commit is contained in:
parent
eb52a69e5e
commit
be6592fe97
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user