mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
windows-x86: Fix saving tagged image
This commit is contained in:
parent
eea86990ba
commit
26f8a6b169
@ -358,7 +358,7 @@ jobs:
|
|||||||
docker load -i ~/docker/base.tar
|
docker load -i ~/docker/base.tar
|
||||||
make windows-x86
|
make windows-x86
|
||||||
tagged=$(docker images -q -f 'since=dockcross/windows-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep windows-x86)
|
tagged=$(docker images -q -f 'since=dockcross/windows-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep windows-x86)
|
||||||
docker save -o ~/docker/windows-x86.tar dockcross/windows-x86:latest
|
docker save -o ~/docker/windows-x86.tar dockcross/windows-x86:latest $tagged
|
||||||
- run:
|
- run:
|
||||||
name: windows-x86 test
|
name: windows-x86 test
|
||||||
command: |
|
command: |
|
||||||
@ -580,11 +580,8 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
docker load -i ~/docker/windows-x86.tar
|
docker load -i ~/docker/windows-x86.tar
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
set -x
|
|
||||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
docker push dockcross/windows-x86:latest
|
docker push dockcross/windows-x86:latest
|
||||||
docker images
|
|
||||||
docker images -q -f 'since=dockcross/windows-x86:latest' --format '{{.Repository}}:{{.Tag}}'
|
|
||||||
tagged=$(docker images -q -f 'since=dockcross/windows-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep windows-x86)
|
tagged=$(docker images -q -f 'since=dockcross/windows-x86:latest' --format '{{.Repository}}:{{.Tag}}' | grep windows-x86)
|
||||||
docker push $tagged
|
docker push $tagged
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user