2019-01-18 01:50:10 +00:00
|
|
|
sudo: required
|
|
|
|
|
2019-05-16 17:07:58 +00:00
|
|
|
dist: xenial
|
|
|
|
|
2019-01-18 01:50:10 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
go:
|
2019-11-15 14:02:38 +00:00
|
|
|
- 1.13.4
|
2019-01-18 01:50:10 +00:00
|
|
|
|
2019-05-03 11:03:39 +00:00
|
|
|
env:
|
2019-05-16 17:07:58 +00:00
|
|
|
- GO111MODULE=on DOCKER_CLI_EXPERIMENTAL=enabled
|
2019-05-03 11:03:39 +00:00
|
|
|
|
2020-01-08 16:10:06 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update && sudo apt-get -y install jq
|
|
|
|
|
2019-05-03 11:03:39 +00:00
|
|
|
install: true
|
|
|
|
|
2019-01-18 01:50:10 +00:00
|
|
|
script:
|
|
|
|
- make
|
|
|
|
- make unit
|
|
|
|
- make lint
|
|
|
|
- make container
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
2019-05-16 17:07:58 +00:00
|
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register
|
|
|
|
- make manifest && make manifest-latest
|