Skip to content

Commit f9e5e6a

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

seqkit/2.x/hooks/build

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
9+
docker build -f ${DOCKERFILE_PATH} --build-arg VERSION=${VERSION} -t ${IMAGE_NAME}
10+
fi

0 commit comments

Comments
 (0)