File tree Expand file tree Collapse file tree 4 files changed +29
-71
lines changed Expand file tree Collapse file tree 4 files changed +29
-71
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,38 @@ jobs:
22
22
- ${{ if eq(parameters.arch, 'arm64') }} :
23
23
- Agent.OSArchitecture -equals ARM64
24
24
variables :
25
+ - ${{ if eq(parameters.arch, 'amd64') }} :
26
+ - name : Docker.CLI.Architecture
27
+ value : amd64
28
+ - ${{ if eq(parameters.arch, 'arm64') }} :
29
+ - name : Docker.CLI.Architecture
30
+ value : arm64
31
+ - ${{ if eq(parameters.arch, 'arm') }} :
32
+ - name : Docker.CLI.Architecture
33
+ value : armhf
25
34
- name : Docker.Image.Architecture
26
35
value : ${{ parameters.arch }}
27
36
28
37
steps :
29
- - task : DockerInstaller@0
30
- displayName : ' Docker install'
31
- inputs :
32
- dockerVersion : ' 19.03.5'
38
+ - script : |
39
+ docker version
40
+ if [ "$?" -ne "0" ]; then
41
+ apt-get update
42
+ apt-get install \
43
+ apt-transport-https \
44
+ ca-certificates \
45
+ curl \
46
+ gnupg2 \
47
+ software-properties-common
48
+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
49
+ add-apt-repository \
50
+ "deb [arch=$(Docker.CLI.Architecture)] https://download.docker.com/linux/ubuntu \
51
+ $(lsb_release -cs) \
52
+ stable"
53
+ apt-get update
54
+ apt-get install docker-ce docker-ce-cli containerd.io
55
+ fi
56
+ displayName: "Docker install"
33
57
34
58
- task : Docker@2
35
59
displayName : ' Build image'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ stages:
17
17
displayName: 'Create Artifacts directories'
18
18
- task : HelmInstaller@1
19
19
inputs :
20
- helmVersionToInstall : ' 3.2.4 '
20
+ helmVersionToInstall : ' 3.1.1 '
21
21
displayName : " Helm install"
22
22
- script : |
23
23
cp README.md src/deploy/helm/sftp/README.md
Original file line number Diff line number Diff line change 5
5
schedule :
6
6
interval : daily
7
7
open-pull-requests-limit : 10
8
- - package-ecosystem : docker
9
- directory : " /src/ES.SFTP.Host"
10
- schedule :
11
- interval : daily
12
- open-pull-requests-limit : 10
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments