CI + Dev-Workspace: disable automatic rollout and setup new Workspace #145
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue