From 0ef049fecd53967a975a2a6646fa9492fd979812 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sun, 6 Jan 2019 23:05:25 -0500 Subject: [PATCH] browser-asmjs: Filter images when finding tagged version --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b8b04c9..924ac65 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -73,7 +73,7 @@ jobs: command: | docker load -i ~/docker/base.tar make browser-asmjs - tagged=$(docker images -q -f 'since=dockcross/browser-asmjs:latest' --format '{{.Repository}}:{{.Tag}}') + tagged=$(docker images -q -f 'since=dockcross/browser-asmjs:latest' --format '{{.Repository}}:{{.Tag}}' | grep browser-asmjs) docker save -o ~/docker/browser-asmjs.tar dockcross/browser-asmjs:latest $tagged - run: name: browser-asmjs test @@ -401,7 +401,7 @@ jobs: if [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u $DOCKER_USER -p $DOCKER_PASS docker push dockcross/browser-asmjs:latest - tagged=$(docker images -q -f 'since=dockcross/browser-asmjs:latest' --format '{{.Repository}}:{{.Tag}}') + tagged=$(docker images -q -f 'since=dockcross/browser-asmjs:latest' --format '{{.Repository}}:{{.Tag}}' | grep browser-asmjs) docker push $tagged fi - restore_cache: