Skip to content
Snippets Groups Projects
Commit 2b195c56 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Rename docker image name for tools

parent e09deef6
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
DOCKER_IMAGE=pandoc/core:3.0
PANDOC_FILTER_DOCKER_IMAGE=pandocfilter:latest
TOOLS_DOCKER_IMAGE=generatechangemarks:master
echo "\n------ Checking for docker image --------"
docker pull "$DOCKER_IMAGE"
......@@ -28,7 +28,7 @@ fi
for i in *.md ; do
echo "\n------ Preparaing spec --------"
docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) "$PANDOC_FILTER_DOCKER_IMAGE" pandocFilter -o "/tmp/" "/tmp/$i"
docker run --rm -v $(pwd):/tmp/ -u $(id -u):$(id -g) "$TOOLS_DOCKER_IMAGE" pandocFilter -o "/tmp/" "/tmp/$i"
echo "\n------ Publishing spec --------"
docker run --rm -v $(pwd):/data -u $(id -u):$(id -g) "$DOCKER_IMAGE" "/data/$i" -f markdown -t docx --reference-doc "Spec-template.docx" -o "${PROJECT_NAME}_${2}.docx"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment