-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
29 lines (29 loc) · 711 Bytes
/
Copy pathwercker.yml
File metadata and controls
29 lines (29 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"