Skip to content

Commit

Permalink
wercker added
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvt1981 committed Jul 16, 2018
1 parent 56622c4 commit cd6597e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Ignore bin
bin/

#Ignore obj
obj/
29 changes: 29 additions & 0 deletions wercker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
box: microsoft/dotnet:2.1-sdk
no-response-timeout: 10
build:
steps:
- script:
name: restore
code: |
dotnet restore
- script:
name: build
code: |
dotnet build
- script:
name: publish
code: |
dotnet publish -o publish
- script:
name: copy binary
code: |
cp -r . $WERCKER_OUTPUT_DIR/app
cd $WERCKER_OUTPUT_DIR/app
deploy:
steps:
- internal/docker-push:
username: $USERNAME
password: $PASSWORD
repository: stefanvantilborg/hello-world
registry: https://registry.hub.docker.com
entrypoint: "/pipeline/source/app/docker_entrypoint.sh"

0 comments on commit cd6597e

Please sign in to comment.