-
Notifications
You must be signed in to change notification settings - Fork 4
/
azure-pipelines.yml
41 lines (40 loc) · 1.1 KB
/
azure-pipelines.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
38
39
40
41
jobs:
- job: LinuxContainerBuilds
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Docker@1
displayName: Build image
timeoutInMinutes: 120
inputs:
command: build
buildContext: osxcross-builder/
useDefaultContext: false
dockerFile: osxcross-builder/Dockerfile
imageName: liushuyu/osxcross
arguments: --build-arg XCODE_USERNAME=$(x_user) --build-arg XCODE_PASSWORD=$(x_pwd)
- task: Docker@1
displayName: Build Qt 5 enabled image
timeoutInMinutes: 30
inputs:
command: build
buildContext: osxcross-builder/extra-qt5
useDefaultContext: false
dockerFile: osxcross-builder/extra-qt5/Dockerfile
imageName: liushuyu/osxcross:qt5
- task: Docker@1
displayName: Container registry login
inputs:
command: login
containerregistrytype: Container Registry
dockerRegistryEndpoint: docker
- task: Docker@1
displayName: Push image
inputs:
command: push
imageName: liushuyu/osxcross
- task: Docker@1
displayName: Push image
inputs:
command: push
imageName: liushuyu/osxcross:qt5