From 1cab2dd5124c9ca8bd50075c2002029aa6f653fc Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 18 May 2020 23:04:48 -0400 Subject: [PATCH] circleci: Deploy manylinux2010-x86 --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f61146e..e64d7da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -731,6 +731,18 @@ jobs: tagged=$(docker images -q -f 'since=dockcross/manylinux2010-x64:latest' --format '{{.Repository}}:{{.Tag}}' | grep manylinux2010-x64) docker push $tagged 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: key: manylinux2014-x64-assets-{{ .Revision }} - deploy: