Commit 0b43de56 authored by Wouter's avatar Wouter

Disable cache on CI builds

parent 1e86dd75
Pipeline #164 passed with stages
in 35 seconds
......@@ -6,7 +6,7 @@ Build master:
stage: build
script:
- docker rmi --force ${DOCKERHUB_USER}/${DOCKERHUB_REPO}:latest || /bin/true
- docker build --tag=${DOCKERHUB_USER}/${DOCKERHUB_REPO}:latest .
- docker build --no-cache --tag=${DOCKERHUB_USER}/${DOCKERHUB_REPO}:latest .
tags:
- docker
only:
......@@ -15,7 +15,7 @@ Build master:
Build other:
stage: build
script:
- docker build --tag=${DOCKERHUB_USER}/${DOCKERHUB_REPO}:${CI_BUILD_REF_NAME} .
- docker build --no-cache --tag=${DOCKERHUB_USER}/${DOCKERHUB_REPO}:${CI_BUILD_REF_NAME} .
tags:
- docker
except:
......
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