1
0
Fork 0
mirror of synced 2024-06-15 17:04:36 +12:00

only load image into docker when building, and push on deploy

This commit is contained in:
Nick Sweeting 2023-10-19 16:29:49 -07:00
parent 9fa210515e
commit 4b26ab9d1f

View file

@ -66,7 +66,7 @@ check_platforms || (recreate_builder && check_platforms) || exit 1
echo "[+] Building archivebox:$VERSION docker image..."
#docker build . \
docker buildx build --platform "$REQUIRED_PLATFORMS" --push . \
docker buildx build --platform "$REQUIRED_PLATFORMS" --load . \
-t archivebox \
-t archivebox:$TAG_NAME \
-t archivebox:$VERSION \