Browse Source

Allow updating of usenixsec23_artifact tag in floram-docker and circuit-oram-docker repos

Ian Goldberg 1 year ago
parent
commit
30db629489
1 changed files with 2 additions and 2 deletions
  1. 2 2
      repro/build-all-dockers

+ 2 - 2
repro/build-all-dockers

@@ -20,13 +20,13 @@ fi
 
 # See if we need to clone those other two repos
 if [ -d floram-docker/.git ]; then
-    ( cd floram-docker && git fetch --tags origin && git checkout $tag ) || exit 1
+    ( cd floram-docker && git fetch --tags -f origin && git checkout $tag ) || exit 1
 else
     ( git clone https://git-crysp.uwaterloo.ca/iang/floram-docker && cd floram-docker && git checkout $tag ) || exit 1
 fi
 
 if [ -d circuit-oram-docker/.git ]; then
-    ( cd circuit-oram-docker && git fetch --tags origin && git checkout $tag ) || exit 1
+    ( cd circuit-oram-docker && git fetch --tags -f origin && git checkout $tag ) || exit 1
 else
     ( git clone https://git-crysp.uwaterloo.ca/iang/circuit-oram-docker && cd circuit-oram-docker && git checkout $tag ) || exit 1
 fi