From e4532d04a65502d14fba3450a969e4af2c8eb94f Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sylvester.joosten@gmail.com> Date: Tue, 8 Jun 2021 02:16:17 +0000 Subject: [PATCH] Now properly bust build-cache for nightly builds to ensure a fresh build. This didn't cause issues in the past as the simultaneous build of the default master accomplished the same thing, but better do this right just-in-case. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d7864c8f..9b189b01a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -213,9 +213,11 @@ jug_xl:nightly: variables: BUILD_IMAGE: "jug_xl" script: + - CACHEBUST=`date +%s` - docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG} -f containers/jug/Dockerfile.xl --build-arg INTERNAL_TAG=${INTERNAL_TAG} + --build-arg CACHEBUST=${CACHEBUST} containers/jug - ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${NIGHTLY_TAG} -n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME -- GitLab