Always pull images in CI

This commit is contained in:
Héctor Molinero Fernández
2020-05-22 18:52:24 +02:00
parent 27e8c8da4d
commit 7fa7bbe095
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ ifneq ($(wildcard $(VERSION_FILE)),)
IMAGE_VERSION := $(shell cat '$(VERSION_FILE)')
endif
IMAGE_BUILD_OPTS :=
IMAGE_TARBALL := $(DISTDIR)/$(IMAGE_PROJECT).txz
##################################################
@ -35,7 +37,7 @@ all: save-image
.PHONY: build-image
build-image:
'$(DOCKER)' build \
'$(DOCKER)' build $(IMAGE_BUILD_OPTS) \
--tag '$(IMAGE_NAME):$(IMAGE_VERSION)' \
--tag '$(IMAGE_NAME):latest' \
--file '$(DOCKERFILE)' ./