Skip to content

Commit 2175575

Browse files
committed
Adds seqkit 2.x build hook
1 parent 91db7f0 commit 2175575

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

seqkit/2.x/hooks/build

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
if [ -z ${VERSION} ]; then
4+
echo "VERSION environment variable not set."
5+
exit 1
6+
else
7+
echo "Building ${VERSION}"
8+
docker build -f ${DOCKERFILE_PATH} --build-arg VERSION=${VERSION} -t ${IMAGE_NAME} .
9+
fi

0 commit comments

Comments
 (0)