Created
July 18, 2018 20:30
-
-
Save Blind-Striker/639164b28523ea6bd3b461e76b2e9e6a to your computer and use it in GitHub Desktop.
armutcom/docker-dotnet-core-images travis.yml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: csharp | |
sudo: required | |
dist: trusty | |
mono: none | |
dotnet: 2.1.1 | |
os: | |
- linux | |
branches: | |
only: | |
- master | |
- /.*/ | |
services: | |
- docker | |
before_script: | |
- chmod +x ./build.sh | |
script: | |
- ./build.sh | |
after_script: | |
- docker images | |
before_deploy: | |
- docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" | |
deploy: | |
provider: script | |
script: chmod +x ./build.sh && ./build.sh --target=Publish | |
skip_cleanup: true | |
on: | |
branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment