mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 22:25:41 +01:00
browser-asmjs: Filter images when finding tagged version
This commit is contained in:
parent
45ccf40b58
commit
0ef049fecd
@ -73,7 +73,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
docker load -i ~/docker/base.tar
|
docker load -i ~/docker/base.tar
|
||||||
make browser-asmjs
|
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
|
docker save -o ~/docker/browser-asmjs.tar dockcross/browser-asmjs:latest $tagged
|
||||||
- run:
|
- run:
|
||||||
name: browser-asmjs test
|
name: browser-asmjs test
|
||||||
@ -401,7 +401,7 @@ jobs:
|
|||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
docker push dockcross/browser-asmjs:latest
|
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
|
docker push $tagged
|
||||||
fi
|
fi
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user