Skip to content

Commit 656fac5

Browse files
author
Saeid Rezaei Baghbidi
committed
Pipeline
1 parent 3acafc3 commit 656fac5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

azure-pipelines.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
paths:
6+
exclude:
7+
- README.md
8+
pr: none
9+
10+
variables:
11+
repository: 'focal-freedom-236620/proxy'
12+
13+
jobs:
14+
- job: Build_x86
15+
pool:
16+
vmImage: 'Ubuntu-16.04'
17+
18+
steps:
19+
- task: Docker@2
20+
displayName: 'build and push docker image'
21+
inputs:
22+
containerRegistry: 'Edgeworx GCP'
23+
repository: $(repository)
24+
command: 'buildAndPush'
25+
Dockerfile: 'Dockerfile.iofog'
26+
tags: |
27+
latest
28+
- job: Build_ARM
29+
pool: 'RPi'
30+
31+
steps:
32+
- task: Docker@2
33+
displayName: 'build and push docker image'
34+
inputs:
35+
containerRegistry: 'Edgeworx GCP'
36+
repository: $(repository)-arm
37+
command: 'buildAndPush'
38+
Dockerfile: 'Dockerfile.iofog'
39+
tags: |
40+
latest

0 commit comments

Comments
 (0)