remove secrets from source code

master
Tudor Stanciu 2022-11-22 11:08:49 +02:00
parent d5dc0ea80d
commit 6b0d77b618
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
echo "Welcome!"
version="1.0.1"
registryPass="***REMOVED***"
registryPass="*********"
echo "Create docker image with version $version."
docker image build -t "cdn-admin-frontend:$version" .

View File

@ -14,7 +14,7 @@ Push image to registry:
docker tag cdn-admin-frontend:1.0.0 alpine-nexus:8500/cdn/cdn-admin-frontend:1.0.0
--login to registry
docker login --username=admin --password="***REMOVED***" alpine-nexus:8500
docker login --username=admin --password="************" alpine-nexus:8500
--push image
docker push alpine-nexus:8500/cdn/cdn-admin-frontend:1.0.0

View File

@ -33,7 +33,7 @@ function Login(props) {
var [error, setError] = useState(null);
var [activeTabId, setActiveTabId] = useState(0);
var [nameValue, setNameValue] = useState("");
var [loginValue, setLoginValue] = useState(***REMOVED***);
var [loginValue, setLoginValue] = useState("admin");
var [passwordValue, setPasswordValue] = useState("");
return (