Skip to content

Commit

Permalink
updated docker deploy for arm processor
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarresi committed Oct 6, 2018
1 parent 9d97dd1 commit 8837cef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ script:
- cd release
- docker build -t fbarresi/softplc:1.0.$TRAVIS_BUILD_NUMBER-linux .
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- rm libsnap7.so
- rm Dockerfile
- cd ..
- cp ./native/arm/libsnap7.so ./release/libsnap7.so
- cp ./Docker/arm/Dockerfile ./release/Dockerfile
- cd release
- dotnet publish -c release -o release_arm -r linux-arm
- cp ./native/arm/libsnap7.so ./release_arm/libsnap7.so
- cp ./Docker/arm/Dockerfile ./release_arm/Dockerfile
- cd release_arm
- docker build -t fbarresi/softplc:1.0.$TRAVIS_BUILD_NUMBER-arm .
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
Expand Down

0 comments on commit 8837cef

Please sign in to comment.