Merge pull request #410 from thewtex/manylinux-x86-deploy

circleci: Deploy manylinux2010-x86
This commit is contained in:
Matt McCormick 2020-06-09 11:52:15 -04:00 committed by GitHub
commit 7fa7213d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -751,6 +751,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: