-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
26 lines (26 loc) · 963 Bytes
/
.travis.yml
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
sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- ./build.sh
# test image
#- docker run -it thenatureofsoftware/traefik-arm64 version
# push image
- >
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push thenatureofsoftware/minio-arm:latest
docker push thenatureofsoftware/minio-arm64:latest
docker push thenatureofsoftware/mc-arm:latest
docker push thenatureofsoftware/mc-arm64:latest
docker push thenatureofsoftware/volumizr-arm:latest
docker push thenatureofsoftware/volumizr-arm64:latest
docker push thenatureofsoftware/volumizr-amd64:latest
.work/manifest-tool push from-spec manifest-minio.yml
.work/manifest-tool push from-spec manifest-mc.yml
.work/manifest-tool push from-spec manifest-volumizr.yml
fi