We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91db7f0 commit 2175575Copy full SHA for 2175575
seqkit/2.x/hooks/build
@@ -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