about summary refs log tree commit diff
path: root/hooks/build
blob: 4f7259bec83f5ea24f8ac3cc663d9810e6ed92c8 (plain) (blame)
1
2
3
#!/usr/bin/env bash
echo "Building from ${SOURCE_COMMIT}"
docker build --build-arg SOURCE_COMMIT=`head -c 7 <<< $SOURCE_COMMIT` -t $IMAGE_NAME .