I am trying to a multiarch docker container with CICD using Travis ci
Travis already creates and pushed the Container into Dockerhub → but only AMD64 and I want to run it on my Raspberry either.
What is the best way to do so?
#we use java language: java #we add the java development kit (jdk) jdk: - openjdk8 matrix: include: - os: linux dist: xenial arch: amd64 jdk: openjdk8 - os: linux dist: trusty arch: rpi jdk: openjdk8 before_install: - sudo apt-get -yq install maven os: linux virt: vm services: #Linking Travis CI and Docker - docker before_install: - mvn clean - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - docker pull openjdk:8-jdk-alpine script: #We avoid this error :" the job exceeded the maximum log length and has been terminated " - cp .travis.settings.xml $HOME/.m2/settings.xml - cat $HOME/.m2/settings.xml #deploying the app on Docker - mvn deploy
In my opinion I’d have to change something in
mvn deploy but I can’t find anything like that on Google
I hope someone can help me!