dd
This commit is contained in:
parent
31e390650a
commit
c9bc1701ce
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest"
|
||||||
RESET='\033[0m'
|
RESET='\033[0m'
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
YELLOW='\033[0;33m'
|
||||||
|
|
||||||
echo -e "${GREEN}Run checks...${RESET}"
|
echo -e "${GREEN}Run checks...${RESET}"
|
||||||
|
|
||||||
|
@ -20,11 +21,12 @@ if ! [ -f "./id_ed25519" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if ! [ -f "~/.git-credentials" ]; then
|
if ! [ -f "~/.git-credentials" ]; then
|
||||||
echo -e "${RED}~/.git-credentials not Found!${RESET}"
|
echo -e "${YELLOW}~/.git-credentials not Found!${RESET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker pull ${IMAGE}
|
docker pull ${IMAGE}
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
-v "$PWD:/ansible-homeserver" \
|
-v "$PWD:/ansible-homeserver" \
|
||||||
|
-v "~/.git-credentials:/root/.git-credentials" \
|
||||||
-w /ansible-homeserver ${IMAGE}
|
-w /ansible-homeserver ${IMAGE}
|
||||||
|
|
Loading…
Reference in a new issue