From 6f16c016c5fd0c424e1e3683f261c7a3d7db5cda Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Wed, 1 Apr 2020 11:02:25 +0100 Subject: [PATCH] fix: use gnu's grep - busybox's grep doesn't support '~' --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b2e4ec6..714d8ec7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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