diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a21c74c..25bdd1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ build: deploy: stage: deploy script: - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - 'which ssh-agent || ( apk add --no-cache zip openssh-client )' - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh