File size: 294 Bytes
05b45a5
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

# Get version from argument or use default
VERSION=${1:-"latest"}

# Build both CPU and GPU images using docker buildx bake
echo "Building CPU and GPU images..."
VERSION=$VERSION docker buildx bake --push

echo "Build complete!"
echo "Created images with version: $VERSION"