-
Notifications
You must be signed in to change notification settings - Fork 25
/
push-docker-images.sh
executable file
·101 lines (91 loc) · 2.42 KB
/
push-docker-images.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MAJOR=$1
MINOR=$2
echo "📦 Pushing DocIntel.Services.DocumentAnalyzer"
docker push docintelapp/document-analyzer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/document-analyzer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/document-analyzer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.DocumentIndexer"
docker push docintelapp/document-indexer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/document-indexer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/document-indexer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.Importer"
docker push docintelapp/importer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/importer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/importer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.Newsletters"
docker push docintelapp/newsletter:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/newsletter:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/newsletter:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.Scraper"
docker push docintelapp/scraper:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/scraper:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/scraper:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.SourceIndexer"
docker push docintelapp/source-indexer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/source-indexer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/source-indexer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.TagIndexer"
docker push docintelapp/tag-indexer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/tag-indexer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/tag-indexer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.Thumbnailer"
docker push docintelapp/thumbnailer:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/thumbnailer:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/thumbnailer:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.Services.Cron"
docker push docintelapp/cron:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/cron:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/cron:$MINOR
fi
echo ""
echo "📦 Pushing DocIntel.WebApp"
docker push docintelapp/webapp:latest
if [ -z "$MAJOR" ]; then
docker push docintelapp/webapp:$MAJOR
fi
if [ -z "$MINOR" ]; then
docker push docintelapp/webapp:$MINOR
fi