-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
35 lines (28 loc) · 820 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
34
35
VERSION_FILE=Version
RELEASE_VERSION=`cat $(VERSION_FILE)`
build-base:
docker build \
-t sh1d0w/alpine-nvim \
-t sh1d0w/alpine-nvim:${RELEASE_VERSION} \
./base
release-base: build-base
docker push sh1d0w/alpine-nvim:latest
docker push sh1d0w/alpine-nvim:${RELEASE_VERSION}
build-ts: release-base
docker build \
-t sh1d0w/nvim-typescript \
-t sh1d0w/nvim-typescript:${RELEASE_VERSION} \
./typescript
release-ts: build-ts
docker push sh1d0w/nvim-typescript:latest
docker push sh1d0w/nvim-typescript:${RELEASE_VERSION}
build-php: release-base
docker build \
-t sh1d0w/nvim-php \
-t sh1d0w/nvim-php:${RELEASE_VERSION} \
./php
release-php: build-php
docker push sh1d0w/nvim-php:latest
docker push sh1d0w/nvim-php:${RELEASE_VERSION}
release: release-base release-ts release-php
echo "Done."