Move bashbrew to before_script

This commit is contained in:
J0WI 2018-02-22 18:20:13 +01:00
parent 8bdcf4b011
commit ca29fd57aa
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ branches:
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
- wget https://doi-janky.infosiftr.net/job/bashbrew/lastSuccessfulBuild/artifact/bin/bashbrew-amd64 && ln -s bashbrew-amd64 bashbrew
- export PATH=$PATH:$PWD
before_script:
- wget https://doi-janky.infosiftr.net/job/bashbrew/lastSuccessfulBuild/artifact/bin/bashbrew-amd64 && ln -s bashbrew-amd64 bashbrew
- export PATH=$PATH:$PWD
- env | sort
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
- if [[ "$ARCH" == 'i386' ]]; then sed -i -e 's/FROM php/FROM i386\/php/g' "${VERSION}/${VARIANT}/Dockerfile"; fi