Quantumbraid/trainingdata / build_and_push_docker_dev
Quantumbraid's picture
download
raw
575 Bytes
#!/usr/bin/env bash
VERSION=dev
GIT_COMMIT=dev
echo "Docker builds from the repo, not this dir. Make sure changes are pushed to the repo."
echo "Building version: $VERSION"
# wait 2 seconds
sleep 2
# Build the image with cache busting
docker build --build-arg CACHEBUST=$(date +%s) -t aitoolkit:$VERSION -f docker/Dockerfile .
# Tag with version and latest
docker tag aitoolkit:$VERSION ostris/aitoolkit:$VERSION
# Push both tags
echo "Pushing images to Docker Hub..."
docker push ostris/aitoolkit:$VERSION
echo "Successfully built and pushed ostris/aitoolkit:$VERSION"

Xet Storage Details

Size:
575 Bytes
·
Xet hash:
47baa0ee45a5805c63a120a6018f3b2027b26ba7e2fce5c5b0dbf9f43f61841a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.