Skip to content

Commit

Permalink
Make sure to always update the submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
woodthom2 authored Dec 18, 2024
1 parent 5407710 commit d902601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_push_harmony.sh
Original file line number Diff line number Diff line change
@@ -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
# docker run -p 8000:80 harmonydata/harmonyapi:$COMMIT_ID

0 comments on commit d902601

Please sign in to comment.