-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
17 lines (17 loc) · 848 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dist: bionic
language: minimal
env:
global:
- DOCKER_CLI_EXPERIMENTAL="enabled"
before_install:
- sudo apt-get install -yqq apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get install -yqq docker-ce docker-ce-cli containerd.io
- sudo systemctl start docker
- sudo docker run --privileged --rm tonistiigi/binfmt --install all
install:
- sudo docker buildx create --use --name builder --driver docker-container --driver-opt image=moby/buildkit:master --buildkitd-flags '--oci-worker-snapshotter=stargz'
- sudo docker buildx inspect --bootstrap
script: sudo bash build.sh