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: before_script:
- apk add --no-cache make wget git - apk add --no-cache make wget git
- make install-composer - make install-composer
@ -11,8 +13,7 @@ stages:
sync:github: sync:github:
stage: sync stage: sync
before_script: before_script:
- apt-get -y update && apt-get -y upgrade - apk add --no-cache openssh-client git
- apt-get -y install openssh-client git
# SSH deploy key # SSH deploy key
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY") - ssh-add <(echo "$SSH_PRIVATE_KEY")