forked from sdt/docker-raspberry-pi-cross-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (23 loc) · 617 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
machine:
environment:
RPXC_IMAGE: sdthirlwall/raspberry-pi-cross-compiler
RPXC_SCRIPT: "/home/ubuntu/bin/rpxc"
RPXC_DISTRO: jessie
services:
- docker
dependencies:
override:
- ./build.sh
- docker run --rm $RPXC_IMAGE > $RPXC_SCRIPT
- chmod +x $RPXC_SCRIPT
test:
override:
- ./example/run-example.sh ./example/axel
deployment:
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASSWORD
- docker push $RPXC_IMAGE
- docker tag $RPXC_IMAGE $RPXC_IMAGE:$RPXC_DISTRO
- docker push $RPXC_IMAGE:$RPXC_DISTRO