From d902601bc734643a3fe8a60bdf7dd5a300805881 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 18 Dec 2024 12:40:43 +0000 Subject: [PATCH] Make sure to always update the submodule --- build_push_harmony.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_push_harmony.sh b/build_push_harmony.sh index 4715b7a..6b70b24 100755 --- a/build_push_harmony.sh +++ b/build_push_harmony.sh @@ -1,3 +1,4 @@ # docker login -u harmonydata +git submodule update --remote export COMMIT_ID=`git show -s --format=%ci_%h | sed s/[^_a-z0-9]//g | sed s/0[012]00_/_/g` && docker build -t harmonyapi -t harmonyapi:$COMMIT_ID -t harmonydata/harmonyapi -t harmonydata/harmonyapi:$COMMIT_ID --build-arg COMMIT_ID=$COMMIT_ID . && docker push harmonydata/harmonyapi:$COMMIT_ID && echo "The container version is $COMMIT_ID" -# docker run -p 8000:80 harmonydata/harmonyapi:$COMMIT_ID \ No newline at end of file +# docker run -p 8000:80 harmonydata/harmonyapi:$COMMIT_ID