1 Star 0 Fork 0

Velcon-Zheng/picard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_push_docker.sh 762 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jessica Way 提交于 2020-09-30 15:24 . Remove deprecated syntax (#1585)
#!/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Velcon-Zheng/picard.git
git@gitee.com:Velcon-Zheng/picard.git
Velcon-Zheng
picard
picard
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385