Simplify things

This commit is contained in:
Achilleas Pipinellis 2016-08-05 15:40:09 +03:00
parent 66c1a55f98
commit 1124df3e46

View file

@ -14,9 +14,8 @@ before_script:
script:
# Hack to set an array in /bin/sh
# http://unix.stackexchange.com/a/137571
- set $CI_BUILD_NAME
- export JOB=$(printf '%s\n' "$1")
- docker build -f "Dockerfile.$JOB" .
- set -- $CI_BUILD_NAME
- docker build -f "Dockerfile.$1" .
except:
- master