Build-ci image without using docker cache

This commit is contained in:
Antoine Legrand 2017-07-27 17:42:23 +02:00
parent 78f77017e8
commit a5031f3362
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ local jobs = {
// Docker Tag is the branch/tag name
stage: stages.docker_build,
script: [
'docker build -t %s -f Dockerfile .' % images.quayci.name,
'docker build --no-cache -t %s -f Dockerfile .' % images.quayci.name,
'docker run --rm %s cat ALEMBIC_HEAD > /tmp/ALEMBIC_HEAD' % images.quayci.name,
'export MIGRATION_HEAD=`cat /tmp/ALEMBIC_HEAD | cut -d" " -f1`',
'echo $MIGRATION_HEAD',