Skip to content

Instantly share code, notes, and snippets.

@Blind-Striker
Created July 18, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blind-Striker/639164b28523ea6bd3b461e76b2e9e6a to your computer and use it in GitHub Desktop.
Save Blind-Striker/639164b28523ea6bd3b461e76b2e9e6a to your computer and use it in GitHub Desktop.
armutcom/docker-dotnet-core-images travis.yml file
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