2019-01-31 13:40:03 -06:00
|
|
|
sudo: required
|
2019-02-10 01:07:25 -06:00
|
|
|
language: bash
|
2019-02-08 10:15:54 -06:00
|
|
|
env:
|
2019-08-02 21:46:47 -05:00
|
|
|
- VERSION=4.8.0
|
2019-02-08 10:15:54 -06:00
|
|
|
|
2019-02-07 20:21:34 -06:00
|
|
|
dist: xenial
|
2019-02-10 01:07:25 -06:00
|
|
|
|
2017-02-19 10:01:29 -06:00
|
|
|
# safelist
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
2018-03-19 06:08:22 -05:00
|
|
|
- master
|
2019-01-31 13:09:30 -06:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-01-31 13:40:03 -06:00
|
|
|
script:
|
2019-02-12 14:00:53 -06:00
|
|
|
# enable experimental features.
|
2019-02-12 10:27:56 -06:00
|
|
|
- echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
2019-02-12 10:31:30 -06:00
|
|
|
- mkdir $HOME/.docker
|
2019-02-12 10:29:45 -06:00
|
|
|
- touch $HOME/.docker/config.json
|
2019-02-12 10:27:56 -06:00
|
|
|
- echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
|
|
|
|
- sudo service docker restart
|
|
|
|
- docker version -f '{{.Server.Experimental}}'
|
|
|
|
- docker version
|
2019-02-12 14:00:53 -06:00
|
|
|
# build everything
|
2019-02-12 10:27:56 -06:00
|
|
|
- .deploy/docker/build-amd64.sh
|
2019-02-12 10:33:34 -06:00
|
|
|
- .deploy/docker/build-arm.sh
|
|
|
|
- .deploy/docker/manifest.sh
|