Browse Source

tag image with correct version when building with `build_docker` script

Jeffrey Morgan 1 năm trước cách đây
mục cha
commit
927e3ba4a4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/build_docker.sh

+ 1 - 1
scripts/build_docker.sh

@@ -13,5 +13,5 @@ docker buildx build \
     --cache-from type=local,src=.cache \
     --cache-to type=local,dest=.cache \
     -f Dockerfile \
-    -t ollama \
+    -t ollama/ollama:$VERSION \
     .