代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
# This script is used to build and deploy the GCR docker image for Picard
# The dockerhub iamge is built using a dockerhub automated build: https://hub.docker.com/r/broadinstitute/picard/builds
if [[ "$1" == "" ]]
then
echo "Usage: build_push_docker.sh <git-tag>"
exit 1
fi
declare -r TAG=${1}
declare -r PICARD_CLOUD_TAG=us.gcr.io/broad-gotc-prod/picard-cloud:${TAG}
echo "Will build and push the following docker images:"
echo ${PICARD_CLOUD_TAG}
read -p "Is this really what you want to do? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
docker build -t ${PICARD_CLOUD_TAG} --build-arg build_command=cloudJar --build-arg jar_name=picardcloud.jar .
docker push ${PICARD_CLOUD_TAG}
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。