You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
799 B
25 lines
799 B
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;
|
|
|