forked from colinmollenhour/mariadb-galera-swarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
33 lines (25 loc) · 945 Bytes
/
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
DATE=$(shell date +%Y-%m-%d)
all: build
build: build-10.1 build-10.2 build-10.3
push: push-10.1 push-10.2 push-10.3
10.1: build-10.1 push-10.1
10.2: build-10.2 push-10.2
10.3: build-10.3 push-10.3
build-10.1:
docker build --pull -f Dockerfile-10.1 . -t colinmollenhour/mariadb-galera-swarm:10.1-$(DATE)
test-10.1:
./test.sh colinmollenhour/mariadb-galera-swarm:10.1-$(DATE)
push-10.1:
docker push colinmollenhour/mariadb-galera-swarm:10.1-$(DATE)
build-10.2:
docker build --pull . -t colinmollenhour/mariadb-galera-swarm:10.2-$(DATE)
test-10.2:
./test.sh colinmollenhour/mariadb-galera-swarm:10.2-$(DATE)
push-10.2:
docker push colinmollenhour/mariadb-galera-swarm:10.2-$(DATE)
build-10.3:
docker build --pull -f Dockerfile-10.3 . -t colinmollenhour/mariadb-galera-swarm:10.3-$(DATE)
test-10.3:
./test.sh colinmollenhour/mariadb-galera-swarm:10.3-$(DATE)
push-10.3:
docker push colinmollenhour/mariadb-galera-swarm:10.3-$(DATE)