BUGFIX: Set default gitlab-ci image (alpine) & switch commands

This commit is contained in:
Daniel Hürtgen 2017-04-11 18:23:09 +02:00
parent 0080361901
commit 7d4fec959c

View file

@ -1,3 +1,5 @@
image: 'bash:latest'
before_script:
- apk add --no-cache make wget git
- make install-composer
@ -11,8 +13,7 @@ stages:
sync:github:
stage: sync
before_script:
- apt-get -y update && apt-get -y upgrade
- apt-get -y install openssh-client git
- apk add --no-cache openssh-client git
# SSH deploy key
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")