Files
ai-toolkit/build_and_push_docker.yaml
Jaret Burkett 0ea27011d5 Bug fix
2024-08-04 11:07:19 -06:00

8 lines
315 B
Bash

#!/usr/bin/env bash
echo "Docker builds from the repo, not this dir. Make sure changes are pushed to the repo."
# wait 2 seconds
sleep 2
docker build --build-arg CACHEBUST=$(date +%s) -t aitoolkit:latest -f docker/Dockerfile .
docker tag aitoolkit:latest ostris/aitoolkit:latest
docker push ostris/aitoolkit:latest