-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (21 loc) · 700 Bytes
/
Makefile
File metadata and controls
22 lines (21 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
default: image
all: base image
push: push-image
base:
@docker build -f Dockerfile-base \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VERSION=`python setup.py --version` \
-t tuomasairaksinen/serviceform-base:latest \
.
image:
@docker build \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VERSION=`python setup.py --version` \
-t tuomasairaksinen/serviceform:latest \
.
push-base:
@docker push tuomasairaksinen/serviceform-base:latest
push-image:
@docker push tuomasairaksinen/serviceform:latest