forked from Azure-App-Service/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·66 lines (61 loc) · 3.08 KB
/
build.sh
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
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env bash
set -x -e
buildnumber=${4-$(date -u +"%y%m%d%H%M")}
docker build --no-cache -t "$1"/node:4.4.7_"$buildnumber" 4.4.7
docker build --no-cache -t "$1"/node:4.5.0_"$buildnumber" 4.5.0
docker build --no-cache -t "$1"/node:4.8.3_"$buildnumber" 4.8.3
docker build --no-cache -t "$1"/node:4.8.4_"$buildnumber" 4.8.4
docker build --no-cache -t "$1"/node:6.2.2_"$buildnumber" 6.2.2
docker build --no-cache -t "$1"/node:6.6.0_"$buildnumber" 6.6.0
docker build --no-cache -t "$1"/node:6.9.3_"$buildnumber" 6.9.3
docker build --no-cache -t "$1"/node:6.10.3_"$buildnumber" 6.10.3
docker build --no-cache -t "$1"/node:6.11.0_"$buildnumber" 6.11.0
docker build --no-cache -t "$1"/node:6.11.1_"$buildnumber" 6.11.1
docker build --no-cache -t "$1"/node:6.11.5_"$buildnumber" 6.11.5
docker build --no-cache -t "$1"/node:8.0.0_"$buildnumber" 8.0.0
docker build --no-cache -t "$1"/node:8.1.2_"$buildnumber" 8.1.2
docker build --no-cache -t "$1"/node:8.1.3_"$buildnumber" 8.1.3
docker build --no-cache -t "$1"/node:8.1.4_"$buildnumber" 8.1.4
docker build --no-cache -t "$1"/node:8.2.1_"$buildnumber" 8.2.1
docker build --no-cache -t "$1"/node:8.8.0_"$buildnumber" 8.8.0
docker build --no-cache -t "$1"/node:8.8.1_"$buildnumber" 8.8.1
docker build --no-cache -t "$1"/node:8.9.4_"$buildnumber" 8.9.4
docker build --no-cache -t "$1"/node:8.11.4_"$buildnumber" 8.11.4
docker build --no-cache -t "$1"/node:8.12.0_"$buildnumber" -t "$1"/node:lts_"$buildnumber" 8.12.0
docker tag "$1"/node:lts_"$buildnumber" "$1"/node:lts
docker build --no-cache -t "$1"/node:9.4.0_"$buildnumber" 9.4.0
docker build --no-cache -t "$1"/node:10.1.0_"$buildnumber" 10.1.0
docker build --no-cache -t "$1"/node:10.10.0_"$buildnumber" -t "$1"/node:latest_"$buildnumber" 10.10.0
docker build --no-cache -t "$1"/node:10.14.1_"$buildnumber" 10.14.1
docker tag "$1"/node:latest_"$buildnumber" "$1"/node:latest
docker login -u "$2" -p "$3"
docker push "$1"/node:4.4.7_"$buildnumber"
docker push "$1"/node:4.5.0_"$buildnumber"
docker push "$1"/node:4.8.3_"$buildnumber"
docker push "$1"/node:4.8.4_"$buildnumber"
docker push "$1"/node:6.2.2_"$buildnumber"
docker push "$1"/node:6.6.0_"$buildnumber"
docker push "$1"/node:6.9.3_"$buildnumber"
docker push "$1"/node:6.10.3_"$buildnumber"
docker push "$1"/node:6.11.0_"$buildnumber"
docker push "$1"/node:6.11.1_"$buildnumber"
docker push "$1"/node:6.11.5_"$buildnumber"
docker push "$1"/node:8.0.0_"$buildnumber"
docker push "$1"/node:8.1.2_"$buildnumber"
docker push "$1"/node:8.1.3_"$buildnumber"
docker push "$1"/node:8.1.4_"$buildnumber"
docker push "$1"/node:8.2.1_"$buildnumber"
docker push "$1"/node:8.8.0_"$buildnumber"
docker push "$1"/node:8.8.1_"$buildnumber"
docker push "$1"/node:8.9.4_"$buildnumber"
docker push "$1"/node:8.11.4_"$buildnumber"
docker push "$1"/node:8.12.0_"$buildnumber"
docker push "$1"/node:lts_"$buildnumber"
docker push "$1"/node:lts
docker push "$1"/node:9.4.0_"$buildnumber"
docker push "$1"/node:10.1.0_"$buildnumber"
docker push "$1"/node:10.10.0_"$buildnumber"
docker push "$1"/node:10.14.1_"$buildnumber"
docker push "$1"/node:latest_"$buildnumber"
docker push "$1"/node:latest
docker logout