1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-27 12:58:24 +00:00

Update .travis.yml

This commit is contained in:
MaxPeal
2020-09-24 00:22:23 +02:00
committed by GitHub
parent aa1865e6f1
commit 1f44ae98c0

View File

@@ -24,9 +24,12 @@ env:
# PLATFORM = Base image architecture to be used # PLATFORM = Base image architecture to be used
# QEMU_ARCH = qemu binary to be downloaded from https://github.com/multiarch/qemu-user-static/releases # QEMU_ARCH = qemu binary to be downloaded from https://github.com/multiarch/qemu-user-static/releases
# TAG_ARCH = Tag to be applied to the image when upload to DockerHub # TAG_ARCH = Tag to be applied to the image when upload to DockerHub
- PLATFORM=amd64 QEMU_ARCH=i386 TAG_ARCH=386
- PLATFORM=amd64 QEMU_ARCH=amd64 TAG_ARCH=amd64 - PLATFORM=amd64 QEMU_ARCH=amd64 TAG_ARCH=amd64
- PLATFORM=arm64 QEMU_ARCH=aarch64 TAG_ARCH=arm64 - PLATFORM=arm64 QEMU_ARCH=aarch64 TAG_ARCH=arm64
- PLATFORM=arm QEMU_ARCH=arm TAG_ARCH=arm - PLATFORM=arm QEMU_ARCH=arm TAG_ARCH=arm
- PLATFORM=ppc64le QEMU_ARCH=ppc64le TAG_ARCH=ppc64le
- PLATFORM=s390x QEMU_ARCH=s390x TAG_ARCH=s390x
before_script: before_script:
- echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json - echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
@@ -43,7 +46,7 @@ jobs:
include: include:
- stage: deploy - stage: deploy
env: env:
- ARCHS="amd64 arm64 arm" - ARCHS="amd64 arm64 arm 386 ppc64le s390x"
script: script:
- echo $NAME:$VERSION_TAG - echo $NAME:$VERSION_TAG
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin