Changes
Page history
Update 2_Image_Building - New command for generating the DOCKER_IMAGE_TAG
authored
Jan 17, 2025
by
Nils Küster
Show whitespace changes
Inline
Side-by-side
system/deployment/2_Image_Building.md
View page @
3445c31e
...
...
@@ -44,7 +44,7 @@ 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
)
_
$(
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
's|^heads/||'
)
_
$(
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
}
"
...
...
...
...