Commit 07715aa0 authored by Tomas Krizek's avatar Tomas Krizek Committed by Daniel Salzman

ci: don't use cache when building Docker images

parent 0705a925
......@@ -18,8 +18,7 @@ stages:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- docker pull "$IMAGE_TAG" || true
- docker build --cache-from "$IMAGE_TAG" -t "$IMAGE_TAG" "scripts/docker/$IMAGE_NAME"
- docker build --no-cache -t "$IMAGE_TAG" "scripts/docker/$IMAGE_NAME"
- docker push "$IMAGE_TAG"
tags:
- dind
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment