🐛 bug: fix missing Git version

main
_ 2021-02-20 21:34:19 +00:00
parent 6db94d3e4f
commit 56a9c0cbeb
1 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,10 @@ mkdir -p app_packages
git archive --format=tar "$GIT_COMMIT" | sudo docker build -t ptth:latest --build-arg "git_version=$GIT_COMMIT" - git archive --format=tar "$GIT_COMMIT" | sudo docker build -t ptth:latest --build-arg "git_version=$GIT_COMMIT" -
sudo docker run --rm ptth:latest tar -c ptth_relay handlebars | gzip > "app_packages/ptth_relay_$GIT_COMMIT_SHORT.tar.gz" sudo docker run --rm ptth:latest tar -c \
ptth_relay \
handlebars \
git_version.txt \
| gzip > "app_packages/ptth_relay_$GIT_COMMIT_SHORT.tar.gz"
sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest . sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest .