First working release :)
All checks were successful
/ build-docker-image (push) Successful in 7s

This commit is contained in:
2024-09-07 02:28:07 +01:00
parent d5edc731f3
commit 522a2f854b
7 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#/bin/bash
source docker/docker-run-ansible-local.env.local
docker build docker \
-f docker/Dockerfile \
-t ${IMAGE_NAME}
docker run --rm \
-e ANSIBLE_INVENTORY="${ANSIBLE_PLAYBOOK_INVENTORY}" \
-e ANSIBLE_PRIVATE_KEY="${ANSIBLE_PLAYBOOK_PRIVATE_KEY}" \
-e ANSIBLE_REMOTE_USER="${ANSIBLE_PLAYBOOK_REMOTE_USER}" \
-v ${VOLUME_PATH}:/playbook-project.local $IMAGE_NAME