Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit 48cd872

Browse files
committed
feat(Makefile): set docker build flags via environment variable
1 parent c3f04c6 commit 48cd872

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ branches:
77
services:
88
- postgresql
99
- docker
10+
env:
11+
- DOCKER_BUILD_FLAGS="--pull --no-cache"
1012
sudo: required
1113
addons:
1214
postgresql: "9.4"

versioning.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
MUTABLE_VERSION ?= canary
22
VERSION ?= git-$(shell git rev-parse --short HEAD)
3-
DOCKER_BUILD_FLAGS ?= --no-cache
43

54
IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
65
MUTABLE_IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}

0 commit comments

Comments
 (0)