diff --git a/build.sh b/build.sh index aeb0007..96adf8f 100644 --- a/build.sh +++ b/build.sh @@ -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" . diff --git a/notes/docker.txt b/notes/docker.txt index 26bf2f9..d103ab8 100644 --- a/notes/docker.txt +++ b/notes/docker.txt @@ -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 diff --git a/src/pages/login/Login.js b/src/pages/login/Login.js index e017fd9..030201c 100644 --- a/src/pages/login/Login.js +++ b/src/pages/login/Login.js @@ -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 (