mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02: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:
|
||||
# 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue