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

This commit is contained in:
Michael Grote 2024-07-25 23:45:23 +02:00
parent a03f6b06e9
commit a9563b4e80

View file

@ -26,6 +26,9 @@ echo -e ${GREEN}Pull image...${RESET}
docker pull --quiet ${IMAGE}
echo -e ${GREEN}Start session...${RESET}
docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} echo Branch: $(git rev-parse --abbrev-ref HEAD) && /bin/bash
docker run -it \
-v $PWD:/ansible-homeserver \
-w /ansible-homeserver ${IMAGE} \
/bin/bash echo Branch: $(git rev-parse --abbrev-ref HEAD) && git config --global --add safe.directory /ansible-homeserver && /bin/bash
# todo shellcheck