Skip to content
Snippets Groups Projects
Commit acee9ef5 authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses:
Browse files

Don't cache Docker layers

parent a731206f
No related branches found
No related tags found
No related merge requests found
Pipeline #24132 failed
......@@ -22,11 +22,10 @@ endif
all: pull build
pull:
docker pull "$(IMAGE):$(VARIANT)" || true
docker pull "$(FROM)"
build:
docker build --cache-from "$(IMAGE):$(VARIANT)" --tag "$(IMAGE):$(VARIANT)" .
docker build --tag "$(IMAGE):$(VARIANT)" .
ifdef IMAGE_EXTRA_TAG
docker tag "$(IMAGE):$(VARIANT)" "$(IMAGE):$(IMAGE_EXTRA_TAG)"
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment