Skip to content

Commit

Permalink
Merge pull request #93 from mkuron/patch-8
Browse files Browse the repository at this point in the history
Disable image build cache
  • Loading branch information
jngrad authored Jun 3, 2019
2 parents 8ca8df0 + fd5c9eb commit da1f5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maintainer/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ cmd "cd docker/$docker_src"
echo "ACTIVATION_LICENSE_FILE=$INTEL_LICENSE_SERVER" >> intel.cfg
echo "ACTIVATION_LICENSE_FILE=$INTEL_LICENSE_SERVER" >> intel-15.cfg
test -f Dockerfile-$docker_tag || cmd "sh generate.sh $docker_tag"
cmd "/kaniko/executor --context $PWD --dockerfile Dockerfile-$docker_tag* --destination $CI_REGISTRY/$CI_PROJECT_PATH/test/$CI_JOB_NAME-$CI_COMMIT_SHA --cache=true --cache-repo $CI_REGISTRY/$CI_PROJECT_PATH/cache"
test "$CI_COMMIT_REF_NAME" != "master" || cmd "/kaniko/executor --context $PWD --dockerfile Dockerfile-$docker_tag* --destination $CI_REGISTRY/$CI_PROJECT_PATH/$CI_JOB_NAME --cache=true --cache-repo $CI_REGISTRY/$CI_PROJECT_PATH/cache"
cmd "/kaniko/executor --context $PWD --dockerfile Dockerfile-$docker_tag* --destination $CI_REGISTRY/$CI_PROJECT_PATH/test/$CI_JOB_NAME-$CI_COMMIT_SHA"
test "$CI_COMMIT_REF_NAME" != "master" || cmd "/kaniko/executor --context $PWD --dockerfile Dockerfile-$docker_tag* --destination $CI_REGISTRY/$CI_PROJECT_PATH/$CI_JOB_NAME"

0 comments on commit da1f5cb

Please sign in to comment.