mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 10:32:56 +01:00
Simplify things
This commit is contained in:
parent
66c1a55f98
commit
1124df3e46
1 changed files with 2 additions and 3 deletions
|
|
@ -14,9 +14,8 @@ before_script:
|
||||||
script:
|
script:
|
||||||
# Hack to set an array in /bin/sh
|
# Hack to set an array in /bin/sh
|
||||||
# http://unix.stackexchange.com/a/137571
|
# http://unix.stackexchange.com/a/137571
|
||||||
- set $CI_BUILD_NAME
|
- set -- $CI_BUILD_NAME
|
||||||
- export JOB=$(printf '%s\n' "$1")
|
- docker build -f "Dockerfile.$1" .
|
||||||
- docker build -f "Dockerfile.$JOB" .
|
|
||||||
except:
|
except:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue