mirror of
https://dev.azure.com/tstanciu94/CDN/_git/CDN_Frontend
synced 2025-06-21 19:24:34 +03:00
remove secrets from source code
This commit is contained in:
parent
d5dc0ea80d
commit
6b0d77b618
2
build.sh
2
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" .
|
||||
|
@ -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
|
||||
|
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user