BUGFIX: Set default gitlab-ci image (alpine) & switch commands
This commit is contained in:
parent
0080361901
commit
7d4fec959c
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue