fix: use gnu's grep

- busybox's grep doesn't support '~'
This commit is contained in:
curben 2020-04-01 11:02:25 +01:00
parent ba7efa8cbd
commit 6f16c016c5
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ deploy_job:
stage: deploy_stage
before_script:
- 'which ssh-agent || (apk update && apk add openssh-client git grep)'
- 'which ssh-agent || (apk update && apk add openssh-client git grep sed)'
script:
- sh script.sh
@ -61,7 +61,7 @@ failed_job:
stage: failed_stage
before_script:
- 'which ssh-agent || (apk update && apk add openssh-client git grep)'
- 'which ssh-agent || (apk update && apk add openssh-client git grep sed)'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo "$GH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null