forked from jakolehm/docker-galera-mariadb-10.0
-
Notifications
You must be signed in to change notification settings - Fork 103
/
makefile
36 lines (28 loc) · 1.11 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
DATE=$(shell date +%Y-%m-%d)
VERSION_10_5=10.5.26
VERSION_10_6=10.6.19
VERSION_10_11=10.11.9
all: build
build: build-10.5 build-10.6 build-10.11
push: push-10.5 push-10.6 push-10.11
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.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)