diff --git a/.cicd/create-docker-from-binary.sh b/.cicd/create-docker-from-binary.sh index eac0ec34b..465a4312a 100755 --- a/.cicd/create-docker-from-binary.sh +++ b/.cicd/create-docker-from-binary.sh @@ -16,7 +16,11 @@ echo "$ $DOCKER_BUILD" eval $DOCKER_BUILD # docker tag echo '--- :label: Tag Container' -REGISTRIES=("$EOSIO_CDT_REGISTRY" "$DOCKERHUB_REGISTRY") +if [[ "$BUILDKITE_PIPELINE_SLUG" =~ "-sec" ]] ; then + REGISTRIES=("$EOSIO_CDT_REGISTRY") +else + REGISTRIES=("$EOSIO_CDT_REGISTRY" "$DOCKERHUB_REGISTRY") +fi for REG in ${REGISTRIES[@]}; do DOCKER_TAG_BRANCH="docker tag '$IMAGE' '$REG:$SANITIZED_BRANCH'" echo "$ $DOCKER_TAG_BRANCH"