Skip to content
Snippets Groups Projects
Commit e4532d04 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

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.
parent 23dd6425
No related branches found
No related tags found
1 merge request!76Now properly bust build-cache for nightly builds to ensure a fresh build.
...@@ -213,9 +213,11 @@ jug_xl:nightly: ...@@ -213,9 +213,11 @@ jug_xl:nightly:
variables: variables:
BUILD_IMAGE: "jug_xl" BUILD_IMAGE: "jug_xl"
script: script:
- CACHEBUST=`date +%s`
- docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG} - docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG}
-f containers/jug/Dockerfile.xl -f containers/jug/Dockerfile.xl
--build-arg INTERNAL_TAG=${INTERNAL_TAG} --build-arg INTERNAL_TAG=${INTERNAL_TAG}
--build-arg CACHEBUST=${CACHEBUST}
containers/jug containers/jug
- ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${NIGHTLY_TAG} - ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${NIGHTLY_TAG}
-n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME -n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME
......
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