forked from jakolehm/docker-galera-mariadb-10.0
-
Notifications
You must be signed in to change notification settings - Fork 103
/
makefile
45 lines (36 loc) · 1.46 KB
/
makefile
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
DATE=$(shell date +%Y-%m-%d)
VERSION_10_4=10.4.32
VERSION_10_5=10.5.23
VERSION_10_6=10.6.16
VERSION_10_11=10.11.6
all: build
build: build-10.4 build-10.5 build-10.6 build-10.11
push: push-10.4 push-10.5 push-10.6 push-10.11
10.4: build-10.4 push-10.4
10.5: build-10.5 push-10.5
10.6: build-10.6 push-10.6
10.11: build-10.11 push-10.11
build-10.4:
docker build --pull -f Dockerfile-10.4 . -t colinmollenhour/mariadb-galera-swarm:$(VERSION_10_4)-$(DATE)
test-10.4:
./test.sh colinmollenhour/mariadb-galera-swarm:$(VERSION_10_4)-$(DATE)
push-10.4:
docker push colinmollenhour/mariadb-galera-swarm:$(VERSION_10_4)-$(DATE)
build-10.5:
docker build --pull -f Dockerfile-10.5 . -t colinmollenhour/mariadb-galera-swarm:$(VERSION_10_5)-$(DATE)
test-10.5:
./test.sh colinmollenhour/mariadb-galera-swarm:$(VERSION_10_5)-$(DATE)
push-10.5:
docker push colinmollenhour/mariadb-galera-swarm:$(VERSION_10_5)-$(DATE)
build-10.6:
docker build --pull -f Dockerfile-10.6 . -t colinmollenhour/mariadb-galera-swarm:$(VERSION_10_6)-$(DATE)
test-10.6:
./test.sh colinmollenhour/mariadb-galera-swarm:$(VERSION_10_6)-$(DATE)
push-10.6:
docker push colinmollenhour/mariadb-galera-swarm:$(VERSION_10_6)-$(DATE)
build-10.11:
docker build --pull -f Dockerfile-10.11 . -t colinmollenhour/mariadb-galera-swarm:$(VERSION_10_11)-$(DATE)
test-10.11:
./test.sh colinmollenhour/mariadb-galera-swarm:$(VERSION_10_11)-$(DATE)
push-10.11:
docker push colinmollenhour/mariadb-galera-swarm:$(VERSION_10_11)-$(DATE)