Skip to content

Commit e0ccb99

Browse files
committed
more robust code for updating submodule
1 parent cd0ce4b commit e0ccb99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_push_harmony.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# docker login -u harmonydata
2-
git submodule update --remote
2+
# cd harmony; git pull; cd ..; git add harmony; git commit -m "update submodule"; git push
33
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"
44
# docker run -p 8000:80 harmonydata/harmonyapi:$COMMIT_ID

0 commit comments

Comments
 (0)