This commit modifies the build tooling so that we use the official alipne build images rather than the images from the multiarch org. This requires new logic to parse docker manifests but results in a cleaner solution with fewer architecture definitions. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
31 lines
477 B
YAML
31 lines
477 B
YAML
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- 1.13.4
|
|
|
|
env:
|
|
- GO111MODULE=on DOCKER_CLI_EXPERIMENTAL=enabled
|
|
|
|
before_install:
|
|
- sudo apt-get update && sudo apt-get -y install jq
|
|
|
|
install: true
|
|
|
|
script:
|
|
- make
|
|
- make unit
|
|
- make lint
|
|
- make container
|
|
|
|
after_success:
|
|
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register
|
|
- make manifest && make manifest-latest
|