forked from StefanScherer/docker-cli-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (30 loc) · 1 KB
/
appveyor.yml
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
30
31
32
33
34
35
36
37
version: "{build}"
image: Visual Studio 2019
# Uncomment to debug via RDP
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
APPVEYOR_RDP_PASSWORD:
secure: yn73CHgZq4yvPt+v6fFUvKKA4YPZ5fyQ1JzctBZ9298=
install:
build_script:
- ps: docker build -t docker-cli-builder .
- ps: docker create --name cli docker-cli-builder
- ps: docker cp cli:/gopath/src/github.com/docker/cli/build/docker.exe C:\projects\docker-cli-builder\
test_script:
- cd C:\projects\docker-cli-builder
- .\docker.exe --version
artifacts:
- path: .\docker.exe
name: Binary
deploy:
provider: GitHub
description: ' '
auth_token:
secure: lHtUwgkSpJCDP1H9ir+KLUVRxkXqPPcGEFMH+M7BgdRBWCg+FfLFviizT8WfUDux
on:
branch: master
appveyor_repo_tag: true