Skip to content

Commit c954b31

Browse files
authored
Merge pull request #1232 from mboersma/build-no-cache
feat(Makefile): set docker build flags via environment variable
2 parents c3f04c6 + 48cd872 commit c954b31

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.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)