forked from jakolehm/docker-galera-mariadb-10.0
-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathmakefile
35 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.27
VERSION_10_11=10.11.10
VERSION_11_4=11.4.4
all: build
build: build-10.5 build-10.11 build-11.4
push: push-10.5 push-10.11 push-11.4
10.5: build-10.5 push-10.5
10.11: build-10.11 push-10.11
11.4: build-11.4 push-11.4
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.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)
build-11.4:
docker build --pull -f Dockerfile-11.4 . -t colinmollenhour/mariadb-galera-swarm:$(VERSION_11_4)-$(DATE)
test-11.4:
./test.sh colinmollenhour/mariadb-galera-swarm:$(VERSION_11_4)-$(DATE)
push-11.4:
docker push colinmollenhour/mariadb-galera-swarm:$(VERSION_11_4)-$(DATE)