Pre-process .xml
files, performing conversions and formatting where necessary.
Build the image:
docker build --tag convert .
To run the image you need a GitLab token.
The GITLAB_TOKEN
is a private user access token with permission to:
read_api
read_repo
docker run \
-e "PROJECT_ACCESS_TOKEN={{GITLAB_TOKEN}}" \
-e "CI_PROJECT_URL={{YOUR_GITLAB_PROJECT_URL}}" \
-e "CI_PROJECT_ID={{YOUR_GITLAB_PROJECT_ID}}" \
-e "CI_SERVER_URL={{YOUR_GITLAB_URL}} \
--name "convert" \
--rm \
convert