aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
blob: 0bc1755fe05a06152c4ffb846a6b2a4139ac1aa8 (plain) (blame)
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
language: minimal
os: linux
dist: focal

services:
  - docker

install:
  # GCR & BuildKit don't play nice together, e.g.:
  # https://github.com/moby/buildkit/issues/606
  - echo '{}' | sudo tee /etc/docker/daemon.json
  - sudo systemctl restart docker

jobs:
  fast_finish: true

  include:
    - name: Build native images
      script: make docker/build
    - name: Build native images using Compose
      script: sudo make compose/install && make compose/build
    - stage: publish
      name: Build & publish multi-arch images
      if: branch = master
      # buildx isn't installed on Focal.
      before_script: make buildx/install
      script: make login && make buildx/create && make buildx/push