-
Notifications
You must be signed in to change notification settings - Fork 6
/
.azure-pipelines.yml
56 lines (48 loc) · 1.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# https://aka.ms/yaml
trigger:
- master
stages:
- stage: amd64
displayName: amd64 (Intel/AMD)
dependsOn: []
jobs:
- template: .azure-pipelines-job.yml
parameters:
arch: amd64
username: $(DOCKER_USERNAME)
password: $(DOCKER_PASSWORD)
- stage: arm32v7
displayName: arm32v7 (Pi 2+ and other armhf)
dependsOn: []
jobs:
- template: .azure-pipelines-job.yml
parameters:
arch: arm32v7
username: $(DOCKER_USERNAME)
password: $(DOCKER_PASSWORD)
- stage: arm64v8
displayName: arm64v8 (Pi 3+ and other ARM64)
dependsOn: []
jobs:
- template: .azure-pipelines-job.yml
parameters:
arch: arm64v8
username: $(DOCKER_USERNAME)
password: $(DOCKER_PASSWORD)
- stage: Manifest
displayName: multi-arch manifest
dependsOn:
- amd64
- arm32v7
- arm64v8
variables:
- name: DOCKER
value: docker --config=/home/vsts/.docker
jobs:
- job: Manifest
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
echo $(DOCKER_PASSWORD) | $(DOCKER) login --username $(DOCKER_USERNAME) --password-stdin
make manifest