.
Some checks failed
/ build-docker-image (push) Failing after 6s

This commit is contained in:
2024-09-07 01:55:53 +01:00
parent 9c6b4ee75b
commit 5466275dff
3 changed files with 4 additions and 5 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