-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
24 lines (23 loc) · 913 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
os: linux
dist: bionic
language: bash
services: docker
jobs:
include:
- stage: building ppc64le container image
arch: ppc64le
script:
- cd ./dockerfiles
- docker build -t quay.io/powercloud/powervs-container-host:$(uname -m) -f ./Dockerfile.$(uname -m) .
- docker login quay.io -u $USER_QUAY -p $PWD_QUAY
- docker push quay.io/powercloud/powervs-container-host:$(uname -m)
- stage: building x86_64 container image
arch: amd64
script:
- cd ./dockerfiles
- docker build -t quay.io/powercloud/powervs-container-host:$(uname -m) -f ./Dockerfile.$(uname -m) .
- docker login quay.io -u $USER_QUAY -p $PWD_QUAY
- docker push quay.io/powercloud/powervs-container-host:$(uname -m)
- stage: building multi-arch container image
arch: ppc64le
script: chmod +x ./scripts/multi-arch.sh; ./scripts/multi-arch.sh