circleci: Deploy manylinux2010-x86

This commit is contained in:
Matt McCormick 2020-05-18 23:04:48 -04:00 committed by Jean-Christophe Fillion-Robin
parent 35db3a37f6
commit 1cab2dd512
No known key found for this signature in database
GPG Key ID: 087FCBD046CD7ADB

View File

@ -731,6 +731,18 @@ jobs:
tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x64:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x64) tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x64:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x64)
docker push $tagged docker push $tagged
fi fi
- restore_cache:
key: manylinux2010-x86-assets-{{ .Revision }}
- deploy:
name: Deploy manylinux2010-x86
command: |
docker load -i ~/docker/manylinux2010-x86.tar
if [ "${CIRCLE_BRANCH}" == "master" ]; then
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push dockcross/manylinux2010-x86:latest
tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x86)
docker push $tagged
fi
- restore_cache: - restore_cache:
key: manylinux2014-x64-assets-{{ .Revision }} key: manylinux2014-x64-assets-{{ .Revision }}
- deploy: - deploy: