dd
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-29 16:16:41 +02:00
parent 31e390650a
commit c9bc1701ce

View file

@ -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}