From a013de68e095651fdc66692621b25ecde7a1a767 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Feb 2020 22:03:12 +0300 Subject: build & publish multi-arch Docker images --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 635c87c..8b3490d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ os: linux dist: bionic + jobs: include: - name: Test locally @@ -11,3 +12,16 @@ jobs: services: - docker script: ./.travis/docker/test.sh + - stage: publish + language: minimal + name: 'Docker: build & publish multi-arch images' + if: branch = master + addons: + apt: + # Newer docker for BuildKit/buildx support: + packages: + - docker-ce + sources: + - key_url: 'https://download.docker.com/linux/ubuntu/gpg' + sourceline: 'deb https://download.docker.com/linux/ubuntu "$(lsb_release -cs)" stable' + script: make login && make buildx/create && make buildx/push -- cgit v1.2.3