diff --git a/devspace.sh b/devspace.sh index 1e89cf14..de00b448 100755 --- a/devspace.sh +++ b/devspace.sh @@ -7,6 +7,7 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest" RESET='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' +YELLOW='\033[0;33m' echo -e "${GREEN}Run checks...${RESET}" @@ -20,11 +21,12 @@ if ! [ -f "./id_ed25519" ]; then exit 1 fi if ! [ -f "~/.git-credentials" ]; then - echo -e "${RED}~/.git-credentials not Found!${RESET}" + echo -e "${YELLOW}~/.git-credentials not Found!${RESET}" fi docker pull ${IMAGE} docker run -it \ -v "$PWD:/ansible-homeserver" \ + -v "~/.git-credentials:/root/.git-credentials" \ -w /ansible-homeserver ${IMAGE}