mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
circle.yml: Simplify reusing 'display_images' target
This commit is contained in:
parent
8a4e0845da
commit
79938b37e5
47
circle.yml
47
circle.yml
@ -14,32 +14,13 @@ dependencies:
|
|||||||
- docker info
|
- docker info
|
||||||
- if [[ -e ~/docker/base.tar ]]; then docker load -i ~/docker/base.tar; fi
|
- if [[ -e ~/docker/base.tar ]]; then docker load -i ~/docker/base.tar; fi
|
||||||
- docker pull dockcross/base
|
- docker pull dockcross/base
|
||||||
- if [[ -e ~/docker/android-arm.tar ]]; then docker load -i ~/docker/android-arm.tar; fi
|
- |
|
||||||
- docker pull dockcross/android-arm
|
for image in $(make display_images); do
|
||||||
- if [[ -e ~/docker/browser-asmjs.tar ]]; then docker load -i ~/docker/browser-asmjs.tar; fi
|
if [[ -e ~/docker/$image.tar ]]; then
|
||||||
- docker pull dockcross/browser-asmjs
|
echo "Loading $image.tar"
|
||||||
- if [[ -e ~/docker/linux-arm64.tar ]]; then docker load -i ~/docker/linux-arm64.tar; fi
|
docker load -i ~/docker/$image.tar;
|
||||||
- docker pull dockcross/linux-arm64
|
fi
|
||||||
- if [[ -e ~/docker/linux-armv5.tar ]]; then docker load -i ~/docker/linux-armv5.tar; fi
|
docker pull dockcross/$image
|
||||||
- docker pull dockcross/linux-armv5
|
|
||||||
- if [[ -e ~/docker/linux-armv6.tar ]]; then docker load -i ~/docker/linux-armv6.tar; fi
|
|
||||||
- docker pull dockcross/linux-armv6
|
|
||||||
- if [[ -e ~/docker/linux-armv7.tar ]]; then docker load -i ~/docker/linux-armv7.tar; fi
|
|
||||||
- docker pull dockcross/linux-armv7
|
|
||||||
- if [[ -e ~/docker/linux-ppc64le.tar ]]; then docker load -i ~/docker/linux-ppc64le.tar; fi
|
|
||||||
- docker pull dockcross/linux-ppc64le
|
|
||||||
- if [[ -e ~/docker/linux-x64.tar ]]; then docker load -i ~/docker/linux-x64.tar; fi
|
|
||||||
- docker pull dockcross/linux-x64
|
|
||||||
- if [[ -e ~/docker/linux-x86.tar ]]; then docker load -i ~/docker/linux-x86.tar; fi
|
|
||||||
- docker pull dockcross/linux-x86
|
|
||||||
- if [[ -e ~/docker/manylinux-x64.tar ]]; then docker load -i ~/docker/manylinux-x64.tar; fi
|
|
||||||
- docker pull dockcross/manylinux-x64
|
|
||||||
- if [[ -e ~/docker/manylinux-x86.tar ]]; then docker load -i ~/docker/manylinux-x86.tar; fi
|
|
||||||
- docker pull dockcross/manylinux-x86
|
|
||||||
- if [[ -e ~/docker/windows-x64.tar ]]; then docker load -i ~/docker/windows-x64.tar; fi
|
|
||||||
- docker pull dockcross/windows-x64
|
|
||||||
- if [[ -e ~/docker/windows-x86.tar ]]; then docker load -i ~/docker/windows-x86.tar; fi
|
|
||||||
- docker pull dockcross/windows-x86
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
@ -80,16 +61,4 @@ deployment:
|
|||||||
commands:
|
commands:
|
||||||
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
- docker push dockcross/base
|
- docker push dockcross/base
|
||||||
- docker push dockcross/android-arm
|
- for image in $(make display_images); do docker push dockcross/$image; done
|
||||||
- docker push dockcross/browser-asmjs
|
|
||||||
- docker push dockcross/linux-arm64
|
|
||||||
- docker push dockcross/linux-armv5
|
|
||||||
- docker push dockcross/linux-armv6
|
|
||||||
- docker push dockcross/linux-armv7
|
|
||||||
- docker push dockcross/linux-ppc64le
|
|
||||||
- docker push dockcross/linux-x64
|
|
||||||
- docker push dockcross/linux-x86
|
|
||||||
- docker push dockcross/manylinux-x64
|
|
||||||
- docker push dockcross/manylinux-x86
|
|
||||||
- docker push dockcross/windows-x64
|
|
||||||
- docker push dockcross/windows-x86
|
|
||||||
|
Loading…
Reference in New Issue
Block a user