mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-01-09 02:27:13 +00:00
Always pull images in CI
This commit is contained in:
parent
27e8c8da4d
commit
7fa7bbe095
@ -19,7 +19,7 @@ build:images:
|
|||||||
before_script:
|
before_script:
|
||||||
- 'apk add --no-cache coreutils git make xz'
|
- 'apk add --no-cache coreutils git make xz'
|
||||||
script:
|
script:
|
||||||
- 'make build-image save-image'
|
- 'make IMAGE_BUILD_OPTS="--pull" build-image save-image'
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: '1 day'
|
expire_in: '1 day'
|
||||||
paths:
|
paths:
|
||||||
|
4
Makefile
4
Makefile
@ -20,6 +20,8 @@ ifneq ($(wildcard $(VERSION_FILE)),)
|
|||||||
IMAGE_VERSION := $(shell cat '$(VERSION_FILE)')
|
IMAGE_VERSION := $(shell cat '$(VERSION_FILE)')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
IMAGE_BUILD_OPTS :=
|
||||||
|
|
||||||
IMAGE_TARBALL := $(DISTDIR)/$(IMAGE_PROJECT).txz
|
IMAGE_TARBALL := $(DISTDIR)/$(IMAGE_PROJECT).txz
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
@ -35,7 +37,7 @@ all: save-image
|
|||||||
|
|
||||||
.PHONY: build-image
|
.PHONY: build-image
|
||||||
build-image:
|
build-image:
|
||||||
'$(DOCKER)' build \
|
'$(DOCKER)' build $(IMAGE_BUILD_OPTS) \
|
||||||
--tag '$(IMAGE_NAME):$(IMAGE_VERSION)' \
|
--tag '$(IMAGE_NAME):$(IMAGE_VERSION)' \
|
||||||
--tag '$(IMAGE_NAME):latest' \
|
--tag '$(IMAGE_NAME):latest' \
|
||||||
--file '$(DOCKERFILE)' ./
|
--file '$(DOCKERFILE)' ./
|
||||||
|
Loading…
Reference in New Issue
Block a user