Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Disable CI systems who may not want to push to DockerHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
williamblevins committed Jul 9, 2021
1 parent acb2cf0 commit ba56eca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .cicd/create-docker-from-binary.sh
Expand Up @@ -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"
Expand Down

0 comments on commit ba56eca

Please sign in to comment.