dist: trusty language: bash services: - docker before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - sudo apt-get update - sudo apt-get -y install docker-ce script: - docker run --rm --privileged multiarch/qemu-user-static:register --reset - docker build -t tcoupin/wordpress . # - docker build -t tcoupin/wordpress:arm32v7 -f Dockerfile.arm32v7 . # - docker build -t tcoupin/wordpress:arm64v8 -f Dockerfile.arm64v8 . after_success: - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push tcoupin/wordpress; # docker push tcoupin/wordpress:arm32v7; # docker push tcoupin/wordpress:arm64v8;