Update 2_Image_Building - Update command for generating the DOCKER_IMAGE_TAG authored by Nils Küster's avatar Nils Küster
......@@ -44,7 +44,8 @@ git apply example/path/to/example_changes.patch
Update `hyrax/deploy_info.json` and generate docker image tag string
```shell
./hyrax/deploy_info.sh
export DOCKER_IMAGE_TAG="$(git describe --all --always --long --tags | sed 's|^heads/||')_$(jq -r '.last_deployed' < hyrax/deploy_info.json | sed 's|\+00:00$|UTC|g;s|:|-|g')"
export DOCKER_IMAGE_TAG="$(git describe --all --always --long --tags | sed -e 's|^heads/||' -e 's|/|_|g')_$(jq -r '.last_deployed' < hyrax/deploy_info.json | sed 's|\+00:00$|UTC|g;s|:|-|g')"
# Check the docker image tag
echo "${DOCKER_IMAGE_TAG}"
......
......