File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ branches:
66 - master
77services :
88 - docker
9+ env :
10+ - DOCKER_BUILD_FLAGS="--pull --no-cache"
911sudo : required
1012script :
1113 - make bootstrap docker-build test
Original file line number Diff line number Diff line change 2828 @echo Nothing to do.
2929
3030docker-build :
31- docker build --pull --rm -t ${IMAGE} rootfs
31+ docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs
3232 docker tag ${IMAGE} ${MUTABLE_IMAGE}
3333
3434deploy : docker-build docker-push
Original file line number Diff line number Diff line change 11MUTABLE_VERSION ?= canary
22VERSION ?= git-$(shell git rev-parse --short HEAD)
3+ DOCKER_BUILD_FLAGS ?= --pull
34
45IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
56MUTABLE_IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}
You can’t perform that action at this time.
0 commit comments