Changes
Page history
Update 2_Image_Building - Update command for generating the DOCKER_IMAGE_TAG
authored
Jan 31, 2025
by
Nils Küster
Show whitespace changes
Inline
Side-by-side
system/deployment/2_Image_Building.md
View page @
a60caaf3
...
...
@@ -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
}
"
...
...
...
...