From c09db9fd1e246c1a0fee4712b28f0d668cc2d324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Sat, 6 Jul 2019 14:55:57 +0100 Subject: [PATCH] Fix image auto building When cache is enabled, image is not rebuild when executing on the same runner. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b8f1e0..6c6927c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ docker_build: script: - version=$(sed -rn 's,ENV DOKUWIKI_VERSION (.*),\1,p' Dockerfile) - name=docker.seblu.net/docker/dokuwiki:$version - - docker build -t "$name" . + - docker build --no-cache --pull --tag "$name" . docker_push: stage: release -- GitLab