File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ IMAGE_TAG=$(git rev-parse --short=7 HEAD)
77ADDITIONAL_TAGS=" qa latest"
88SECURITY_COMPLIANCE_TAG=" sc-$( date +%Y%m%d) -$( git rev-parse --short=7 HEAD) "
99HOTFIX_CVE_TAG=" hotfix-$( git rev-parse --short=7 HEAD) "
10+ PCP_ZEROCONF_TAG=" pcp-zeroconf-$( git rev-parse --short=7 HEAD) "
1011
1112if [[ -z " $QUAY_USER " || -z " $QUAY_TOKEN " ]]; then
1213 echo " QUAY_USER and QUAY_TOKEN must be set"
@@ -43,6 +44,10 @@ elif [[ $GIT_BRANCH == *"hotfix"* ]]; then
4344 docker --config=" $DOCKER_CONF " push " ${IMAGE_NAME} :${IMAGE_TAG} "
4445 docker --config=" $DOCKER_CONF " tag " ${IMAGE_NAME} :${IMAGE_TAG} " " ${IMAGE_NAME} :${HOTFIX_CVE_TAG} "
4546 docker --config=" $DOCKER_CONF " push " ${IMAGE_NAME} :${HOTFIX_CVE_TAG} "
47+ elif [[ $GIT_BRANCH == * " pcp-zeroconf" * ]]; then
48+ docker --config=" $DOCKER_CONF " push " ${IMAGE_NAME} :${IMAGE_TAG} "
49+ docker --config=" $DOCKER_CONF " tag " ${IMAGE_NAME} :${IMAGE_TAG} " " ${IMAGE_NAME} :${PCP_ZEROCONF_TAG} "
50+ docker --config=" $DOCKER_CONF " push " ${IMAGE_NAME} :${PCP_ZEROCONF_TAG} "
4651else
4752 docker --config=" $DOCKER_CONF " push " ${IMAGE_NAME} :${IMAGE_TAG} "
4853 for ADDITIONAL_TAG in $ADDITIONAL_TAGS ; do
You can’t perform that action at this time.
0 commit comments